|
1 | 1 | conformance_automated = "Fail" |
2 | | -conformant = "Unsupported" |
| 2 | +conformant = "Partial" |
| 3 | +notes = """ |
| 4 | +Does not reject invalid cyclic type alias definitions. |
| 5 | +""" |
3 | 6 | errors_diff = """ |
4 | | -Line 19: Expected 1 errors |
5 | | -Line 20: Expected 1 errors |
6 | | -Line 38: Expected 1 errors |
7 | | -Line 39: Expected 1 errors |
8 | | -Line 50: Expected 1 errors |
9 | | -Line 51: Expected 1 errors |
10 | | -Line 52: Expected 1 errors |
11 | | -Line 63: Expected 1 errors |
12 | | -Line 69: Expected 1 errors |
13 | 7 | Line 72: Expected 1 errors |
14 | 8 | Line 75: Expected 1 errors |
15 | 9 | """ |
16 | 10 | output = """ |
| 11 | +aliases_recursive.py:19:12: error[invalid-assignment] Object of type `dict[str, None | complex | str | list[Json] | dict[str, Json]]` is not assignable to `Json` |
| 12 | +aliases_recursive.py:20:12: error[invalid-assignment] Object of type `list[None | complex | str | list[Json] | dict[str, Json]]` is not assignable to `Json` |
| 13 | +aliases_recursive.py:38:22: error[invalid-assignment] Object of type `tuple[Literal[1], tuple[Literal["1"], Literal[1]], tuple[Literal[1], tuple[Literal[1], list[int]]]]` is not assignable to `RecursiveTuple` |
| 14 | +aliases_recursive.py:39:22: error[invalid-assignment] Object of type `tuple[Literal[1], list[int]]` is not assignable to `RecursiveTuple` |
| 15 | +aliases_recursive.py:50:24: error[invalid-assignment] Object of type `dict[str, list[int]]` is not assignable to `RecursiveMapping` |
| 16 | +aliases_recursive.py:51:24: error[invalid-assignment] Object of type `dict[str, str | int | list[int]]` is not assignable to `RecursiveMapping` |
| 17 | +aliases_recursive.py:52:24: error[invalid-assignment] Object of type `dict[str, str | int | dict[str, str | int | list[int]]]` is not assignable to `RecursiveMapping` |
| 18 | +aliases_recursive.py:63:30: error[invalid-assignment] Object of type `list[list[GenericTypeAlias1[str] | str] | str | list[list[GenericTypeAlias1[str] | str] | str | float]]` is not assignable to `GenericTypeAlias1[str]` |
| 19 | +aliases_recursive.py:69:35: error[invalid-assignment] Object of type `list[list[GenericTypeAlias2[str, int] | str | int] | str | int | list[list[GenericTypeAlias2[str, int] | str | int] | str | int | list[list[GenericTypeAlias2[str, int] | str | int] | str | int | list[list[GenericTypeAlias2[str, int] | str | int] | str | float]]]]` is not assignable to `GenericTypeAlias2[str, int]` |
17 | 20 | """ |
0 commit comments