File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 216216
217217T = TypeVar ("T" )
218218
219- DEFAULT_LAST_PASS : Final = 1 # Pass numbers start at 0
219+ DEFAULT_LAST_PASS : Final = 2 # Pass numbers start at 0
220220
221221# Maximum length of fixed tuple types inferred when narrowing from variadic tuples.
222222MAX_PRECISE_TUPLE_SIZE : Final = 8
Original file line number Diff line number Diff line change @@ -1388,14 +1388,14 @@ import b
13881388import b
13891389class C:
13901390 def f1(self) -> None:
1391- self.x2
1391+ reveal_type( self.x2)
13921392 def f2(self) -> None:
13931393 self.x2 = b.b
13941394[file b.py]
13951395import a
13961396b = 1 + int()
13971397[out]
1398- tmp/a.py:4: error: Cannot determine type of "x2 "
1398+ tmp/a.py:4: note: Revealed type is "builtins.int "
13991399
14001400[case testErrorInPassTwo1]
14011401import b
You can’t perform that action at this time.
0 commit comments