2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/indirectSelfReferenceGeneric.ts(1,7): error TS2310: Type 'a<T>' recursively references itself as a base type.
|
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/indirectSelfReferenceGeneric.ts (1 errors) ====
|
|
|
|
class a<T> extends b<T> { }
|
2014-07-19 02:30:06 +02:00
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2310: Type 'a<T>' recursively references itself as a base type.
|
2014-07-13 01:04:16 +02:00
|
|
|
class b<T> extends a<T> { }
|