void () { doTestByText( """ from typing import Callable, List foo1: Callable[[int], <error descr="Parameters to generic types must be types">[int]</error>] = None foo2: Callable[[int], <error descr="Parameters to generic types must be types">[int, str]</error>] = None foo3: List[<error descr="Parameters to generic types must be types">[int]</error>] foo4: List[<error descr="Parameters to generic types must be types">[int, str]</error>] l1 = [int] l2 = [int, str] foo5: Callable[[int], <error descr="Parameters to generic types must be types">l1</error>] = None foo6: Callable[[int], <error descr="Parameters to generic types must be types">l2</error>] = None foo7: List[<error descr="Parameters to generic types must be types">l1</error>] foo8: List[<error descr="Parameters to generic types must be types">l2</error>]""" ); }