Skip to content

Commit f93b2d0

Browse files
updated confomance notes
1 parent 6d2e266 commit f93b2d0

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

conformance/results/mypy/generics_variance_inference.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
conformant = "Pass"
1+
conformant = "Partial"
2+
notes = """
3+
polymorphic functions with bound self type influence variance inference,
4+
which is not part of the variance inference algorithm as described in the spec.
5+
See gh-2281 for details.
6+
"""
27
output = """
38
generics_variance_inference.py:24: error: Incompatible types in assignment (expression has type "ClassA[float, int, int]", variable has type "ClassA[int, int, int]") [assignment]
49
generics_variance_inference.py:25: error: Incompatible types in assignment (expression has type "ClassA[float, int, int]", variable has type "ClassA[float, float, int]") [assignment]

conformance/results/zuban/generics_variance_inference.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
conformant = "Partial"
2+
notes = """
3+
polymorphic functions with bound self type influence variance inference,
4+
which is not part of the variance inference algorithm as described in the spec.
5+
See gh-2281 for details.
6+
"""
17
conformance_automated = "Fail"
28
errors_diff = """
39
Line 200: Unexpected errors ['generics_variance_inference.py:200: error: Name "S" is not defined [name-defined]', 'generics_variance_inference.py:200: error: Name "S" is not defined [name-defined]']

0 commit comments

Comments
 (0)