==== tests/cases/compiler/noTypeArgumentOnReturnType1.ts (1 errors) ====
    class A<T>{
     
     foo(): A{
            ~
!!! noTypeArgumentOnReturnType1.ts(3,9): error TS2173: Generic type references must include all type arguments.
      return null;
     }
    }