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 ad423fd commit f92844fCopy full SHA for f92844f
1 file changed
test-data/unit/check-type-aliases.test
@@ -1245,8 +1245,8 @@ Ts = TypeVarTuple('Ts')
1245
1246
TA: TypeAlias = tuple[Unpack[Ts]]
1247
1248
-v1: TA[*list[int]] # E: "list[int]" cannot be unpacked (must be tuple or TypeVarTuple)
1249
-v2: TA[Unpack[list[int]]] # E: "list[int]" cannot be unpacked (must be tuple or TypeVarTuple)
+v1: TA[*list[int]] # E: Invalid syntax...
+v2: TA[Unpack[list[int]]] # E: Invalid syntax...
1250
[builtins fixtures/tuple.pyi]
1251
1252
[case testAliasInstanceNameClash]
0 commit comments