TypedDict narrowing regression with enum literal #10414
Labels
bug
mypy got something wrong
false-positive
mypy gave an error on correct code
priority-0-high
topic-typed-dict
topic-union-types
The following example started generating a false positive after #9097:
Type narrowing should work and there should be no error reported.
The text was updated successfully, but these errors were encountered: