Skip to content

Commit b5e1190

Browse files
committed
.
1 parent b4046fc commit b5e1190

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test-data/unit/check-isinstance.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2154,7 +2154,7 @@ nested_any: List[List[Any]]
21542154
if lst in nested_any:
21552155
reveal_type(lst) # N: Revealed type is "builtins.list[builtins.int]"
21562156
if x in nested_any:
2157-
reveal_type(x) # E: Statement is unreachable
2157+
reveal_type(x) # N: Revealed type is "builtins.int | None"
21582158
[builtins fixtures/list.pyi]
21592159

21602160
[case testNarrowTypeAfterInTuple]

0 commit comments

Comments
 (0)