diff --git a/conformance/results/mypy/generics_self_advanced.toml b/conformance/results/mypy/generics_self_advanced.toml index 92f52334..4581356b 100644 --- a/conformance/results/mypy/generics_self_advanced.toml +++ b/conformance/results/mypy/generics_self_advanced.toml @@ -7,14 +7,14 @@ Does not retain `Self` when accessing attribute through `type[Self]`. """ output = """ generics_self_advanced.py:35: error: Expression is of type "ChildB", not "Self" [assert-type] -generics_self_advanced.py:38: error: Expression is of type "ChildB", not "Self" [assert-type] -generics_self_advanced.py:42: error: Expression is of type "type[ChildB]", not "type[Self]" [assert-type] -generics_self_advanced.py:45: error: Expression is of type "ChildB", not "Self" [assert-type] +generics_self_advanced.py:41: error: Expression is of type "ChildB", not "Self" [assert-type] +generics_self_advanced.py:45: error: Expression is of type "type[ChildB]", not "type[Self]" [assert-type] +generics_self_advanced.py:51: error: Expression is of type "ChildB", not "Self" [assert-type] """ conformance_automated = "Fail" errors_diff = """ Line 35: Unexpected errors ['generics_self_advanced.py:35: error: Expression is of type "ChildB", not "Self" [assert-type]'] -Line 38: Unexpected errors ['generics_self_advanced.py:38: error: Expression is of type "ChildB", not "Self" [assert-type]'] -Line 42: Unexpected errors ['generics_self_advanced.py:42: error: Expression is of type "type[ChildB]", not "type[Self]" [assert-type]'] -Line 45: Unexpected errors ['generics_self_advanced.py:45: error: Expression is of type "ChildB", not "Self" [assert-type]'] +Line 41: Unexpected errors ['generics_self_advanced.py:41: error: Expression is of type "ChildB", not "Self" [assert-type]'] +Line 45: Unexpected errors ['generics_self_advanced.py:45: error: Expression is of type "type[ChildB]", not "type[Self]" [assert-type]'] +Line 51: Unexpected errors ['generics_self_advanced.py:51: error: Expression is of type "ChildB", not "Self" [assert-type]'] """ diff --git a/conformance/results/results.html b/conformance/results/results.html index 2c21be32..b28c048b 100644 --- a/conformance/results/results.html +++ b/conformance/results/results.html @@ -345,7 +345,7 @@
Does not infer the type of an unannotated `self` parameter to be type `Self`.
Does not retain `Self` when calling method that returns `Self`.
Does not infer the type of an unannotated `cls` parameter to be type `type[Self]`.
Does not retain `Self` when accessing attribute through `type[Self]`.
Doesn't allow accessing `Self` in a classmethod
Treats attributes not initialized on the class as instance-only