TypeScript/tests/baselines/reference/parserGenericConstraint5.errors.txt

7 lines
359 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/conformance/parser/ecmascript5/Generics/parserGenericConstraint5.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'.
}