==== tests/cases/conformance/parser/ecmascript5/Generics/parserGenericsInTypeContexts2.ts (10 errors) ==== class C extends A, Y>> implements B, Y>> { ~~~~~~~~~~~~~~~~ !!! Cannot find name 'A'. ~~~~~~~~~~~~~~~~ !!! Cannot find name 'B'. } var v1: C, Y>>; ~~~~~~~~~~~~~~~~ !!! Type 'C' is not generic. var v2: D, Y>> = null; ~~~~~~~~~~~~~~~~ !!! Cannot find name 'D'. var v3: E.F, Y>>; ~~~~~~~~~~~~~~~~~~ !!! Cannot find name 'E'. var v4: G.H.I, Y>>; ~~~~~~~~~~~~~~~~~~~~ !!! Cannot find name 'G'. var v6: K, Y>>[]; ~~~~~~~~~~~~~~~~ !!! Cannot find name 'K'. function f1(a: E, Y>>) { ~~~~~~~~~~~~~~~~ !!! Cannot find name 'E'. } function f2(): F, Y>> { ~~~~~~~~~~~~~~~~ !!! 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'. }