You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR generics_upper_bound.py:43:25-31: Argument `set[int]` is not assignable to parameter `y` with type `list[int]` in function `longer` [bad-argument-type]
8
-
ERROR generics_upper_bound.py:51:7-13: Type `int` is not assignable to upper bound `Sized` of type variable `ST` [bad-specialization]
8
+
ERROR generics_upper_bound.py:51:7-13: `int` is not assignable to upper bound `Sized` of type variable `ST` [bad-specialization]
9
9
ERROR generics_upper_bound.py:56:38-49: TypeVar cannot have both constraints and bound [invalid-type-var]
Copy file name to clipboardExpand all lines: conformance/results/pyrefly/literals_interactions.toml
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -8,10 +8,10 @@ Line 71: Unexpected errors ['`@` is not supported between `Matrix[Literal[2], Li
8
8
Line 72: Unexpected errors ['assert_type(Matrix[Literal[2], int], Matrix[Literal[2], Literal[7]]) failed [assert-type]']
9
9
"""
10
10
output = """
11
-
ERROR literals_interactions.py:15:5-9: Index 5 out of range for tuple with 3 elements [index-error]
12
-
ERROR literals_interactions.py:16:5-9: Index -5 out of range for tuple with 3 elements [index-error]
13
-
ERROR literals_interactions.py:17:5-9: Index 4 out of range for tuple with 3 elements [index-error]
14
-
ERROR literals_interactions.py:18:5-10: Index -4 out of range for tuple with 3 elements [index-error]
11
+
ERROR literals_interactions.py:15:5-9: Index 5 out of range for tuple with 3 elements [bad-index]
12
+
ERROR literals_interactions.py:16:5-9: Index -5 out of range for tuple with 3 elements [bad-index]
13
+
ERROR literals_interactions.py:17:5-9: Index 4 out of range for tuple with 3 elements [bad-index]
14
+
ERROR literals_interactions.py:18:5-10: Index -4 out of range for tuple with 3 elements [bad-index]
15
15
ERROR literals_interactions.py:71:9-14: `@` is not supported between `Matrix[Literal[2], Literal[3]]` and `Matrix[Literal[3], Literal[7]]` [unsupported-operation]
Copy file name to clipboardExpand all lines: conformance/results/pyrefly/literals_literalstring.toml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ ERROR literals_literalstring.py:43:23-24: `Literal['two']` is not assignable to
8
8
ERROR literals_literalstring.py:66:25-47: `str` is not assignable to `LiteralString` [bad-assignment]
9
9
ERROR literals_literalstring.py:74:25-26: `Literal[3]` is not assignable to `LiteralString` [bad-assignment]
10
10
ERROR literals_literalstring.py:75:25-32: `Literal[b'test']` is not assignable to `LiteralString` [bad-assignment]
11
-
ERROR literals_literalstring.py:120:21-24: Type `str` is not assignable to upper bound `LiteralString` of type variable `TLiteral` [bad-specialization]
11
+
ERROR literals_literalstring.py:120:21-24: `str` is not assignable to upper bound `LiteralString` of type variable `TLiteral` [bad-specialization]
12
12
ERROR literals_literalstring.py:134:51-52: Argument `str` is not assignable to parameter `value` with type `LiteralString` in function `Container.__init__` [bad-argument-type]
13
13
ERROR literals_literalstring.py:171:21-24: `list[LiteralString]` is not assignable to `list[str]` [bad-assignment]
0 commit comments