2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/recursiveBaseCheck4.ts (2 errors) ====
|
|
|
|
class M<T> extends M<string> { }
|
2014-07-19 02:30:06 +02:00
|
|
|
~
|
2014-07-13 01:04:16 +02:00
|
|
|
!!! Type 'M<T>' recursively references itself as a base type.
|
|
|
|
(new M).blah;
|
|
|
|
~~~~
|
|
|
|
!!! Property 'blah' does not exist on type 'M<{}>'.
|