7 lines
No EOL
362 B
Text
7 lines
No EOL
362 B
Text
==== tests/cases/conformance/parser/ecmascript5/Generics/parserGenericConstraint4.ts (2 errors) ====
|
|
class C<T extends List<List<T> > > {
|
|
~~~~~~~~~~~~~~~~~~~~~~~~
|
|
!!! Constraint of a type parameter cannot reference any type parameter from the same type parameter list.
|
|
~~~~~~~~~~~~~~
|
|
!!! Cannot find name 'List'.
|
|
} |