We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a1aac8 commit cadf7ffCopy full SHA for cadf7ff
test-data/unit/check-serialize.test
@@ -158,7 +158,7 @@ def f(__x: int) -> None: pass
158
[out2]
159
tmp/a.py:3: error: Argument 1 to "f" has incompatible type "str"; expected "int"
160
tmp/a.py:4: error: Unexpected keyword argument "__x" for "f"
161
-tmp/b.py: note: "f" defined here
+tmp/b.py:1: note: "f" defined here
162
163
[case testSerializeArgumentKindsErrors]
164
import a
@@ -224,7 +224,7 @@ def f(x: int) -> int: pass
224
225
tmp/a.py:2: note: Revealed type is "builtins.str"
226
tmp/a.py:3: error: Unexpected keyword argument "x" for "f"
227
+tmp/b.py:4: note: "f" defined here
228
229
[case testSerializeTypeGuardFunction]
230
0 commit comments