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 5343adb commit a927084Copy full SHA for a927084
1 file changed
test-data/unit/check-selftype.test
@@ -1058,7 +1058,7 @@ class A:
1058
def f(x: int) -> None: ...
1059
def g(self: None) -> None: ...
1060
[out]
1061
-main:3: error: Self argument missing for a non-static method (or an invalid type for self)
+main:3: error: self parameter missing for a non-static method (or an invalid type for self)
1062
main:4: error: The erased type of self "None" is not a supertype of its class "__main__.A"
1063
1064
[case testUnionPropertyField]
0 commit comments