File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1026,8 +1026,8 @@ reveal_type(g)
10261026with f('') as s:
10271027 reveal_type(s)
10281028[out]
1029- _program.py:13: note: Revealed type is "def (x: builtins.int) -> contextlib._GeneratorContextManager[builtins.str]"
1030- _program.py:14: note: Revealed type is "def (*x: builtins.str) -> contextlib._GeneratorContextManager[builtins.int]"
1029+ _program.py:13: note: Revealed type is "def (x: builtins.int) -> contextlib._GeneratorContextManager[builtins.str, None, None ]"
1030+ _program.py:14: note: Revealed type is "def (*x: builtins.str) -> contextlib._GeneratorContextManager[builtins.int, None, None ]"
10311031_program.py:16: error: Argument 1 to "f" has incompatible type "str"; expected "int"
10321032_program.py:17: note: Revealed type is "builtins.str"
10331033
You can’t perform that action at this time.
0 commit comments