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 216
216
217
217
T = TypeVar ("T" )
218
218
219
- DEFAULT_LAST_PASS : Final = 1 # Pass numbers start at 0
219
+ DEFAULT_LAST_PASS : Final = 2 # Pass numbers start at 0
220
220
221
221
# Maximum length of fixed tuple types inferred when narrowing from variadic tuples.
222
222
MAX_PRECISE_TUPLE_SIZE : Final = 8
Original file line number Diff line number Diff line change @@ -1388,14 +1388,14 @@ import b
1388
1388
import b
1389
1389
class C:
1390
1390
def f1(self) -> None:
1391
- self.x2
1391
+ reveal_type( self.x2)
1392
1392
def f2(self) -> None:
1393
1393
self.x2 = b.b
1394
1394
[file b.py]
1395
1395
import a
1396
1396
b = 1 + int()
1397
1397
[out]
1398
- tmp/a.py:4: error: Cannot determine type of "x2 "
1398
+ tmp/a.py:4: note: Revealed type is "builtins.int "
1399
1399
1400
1400
[case testErrorInPassTwo1]
1401
1401
import b
You can’t perform that action at this time.
0 commit comments