void () { doTestByText(""" from __future__ import annotations from typing import TypeVarTuple from typing import Generic from typing import Any Shape = TypeVarTuple("Shape") class Array(Generic[*Shape]): ... y: Array[*tuple[Any, ...]] = Array() def expect_variadic_array(x: Array[int, *Shape]) -> None: print(x) expect_variadic_array(y) """); }