==== tests/cases/compiler/missingTypeArguments2.ts (4 errors) ====
    class A<T> { }
    
    var x: () => A;
                 ~
!!! missingTypeArguments2.ts(3,14): error TS2173: Generic type references must include all type arguments.
    (a: A) => { };
        ~
!!! missingTypeArguments2.ts(4,5): error TS2173: Generic type references must include all type arguments.
    var y: A<A>;
             ~
!!! missingTypeArguments2.ts(5,10): error TS2173: Generic type references must include all type arguments.
    (): A => null;
        ~
!!! missingTypeArguments2.ts(6,5): error TS2173: Generic type references must include all type arguments.