==== tests/cases/conformance/parser/ecmascript5/Generics/parserGenericsInTypeContexts1.ts (10 errors) ==== class C extends A implements B { ~~~~ !!! Cannot find name 'A'. ~~~~ !!! Cannot find name 'B'. } var v1: C; ~~~~ !!! Type 'C' is not generic. var v2: D = null; ~~~~ !!! Cannot find name 'D'. var v3: E.F; ~~~~~~ !!! Cannot find name 'E'. var v3: G.H.I; ~~~~~~~~ !!! Cannot find name 'G'. var v6: K[]; ~~~~ !!! Cannot find name 'K'. function f1(a: E) { ~~~~ !!! Cannot find name 'E'. } function f2(): F { ~~~~ !!! A function whose declared type is neither 'void' nor 'any' must return a value or consist of a single 'throw' statement. ~~~~ !!! Cannot find name 'F'. }