void () { doTestByText(""" from typing import Callable, TypeAlias a: Callable[..., str] b: Callable[[int], str] c: Callable[[int, str], str] d: Callable[<error descr="'Callable' must be used as 'Callable[[arg, ...], result]'">...</error>] e: Callable[<error descr="'Callable' first parameter must be a parameter expression">int</error>, str] f: Callable[<error descr="'Callable' must be used as 'Callable[[arg, ...], result]'">int, str</error>, str] g: Callable[<error descr="'Callable' first parameter must be a parameter expression">(int, str)</error>, str] h: Callable[<error descr="'Callable' must be used as 'Callable[[arg, ...], result]'">int</error>] h: Callable[<error descr="'Callable' first parameter must be a parameter expression">(int)</error>, str] A1: TypeAlias = Callable[<error descr="'Callable' must be used as 'Callable[[arg, ...], result]'">int</error>] A2: TypeAlias = 'Callable[<error descr="'Callable' must be used as 'Callable[[arg, ...], result]'">int</error>]' A3 = Callable[<error descr="'Callable' must be used as 'Callable[[arg, ...], result]'">int</error>] # type: TypeAlias A4 = 'Callable[<error descr="'Callable' must be used as 'Callable[[arg, ...], result]'">int</error>]' # type: TypeAlias"""); }