16 lines
No EOL
827 B
Text
16 lines
No EOL
827 B
Text
tests/cases/compiler/recursiveBaseCheck3.ts(1,7): error TS2506: 'A' is referenced directly or indirectly in its own base expression.
|
|
tests/cases/compiler/recursiveBaseCheck3.ts(2,7): error TS2506: 'C' is referenced directly or indirectly in its own base expression.
|
|
tests/cases/compiler/recursiveBaseCheck3.ts(4,9): error TS2339: Property 'blah' does not exist on type 'C<{}>'.
|
|
|
|
|
|
==== tests/cases/compiler/recursiveBaseCheck3.ts (3 errors) ====
|
|
class A<T> extends C<T> { }
|
|
~
|
|
!!! error TS2506: 'A' is referenced directly or indirectly in its own base expression.
|
|
class C<T> extends A<T> { }
|
|
~
|
|
!!! error TS2506: 'C' is referenced directly or indirectly in its own base expression.
|
|
|
|
(new C).blah;
|
|
~~~~
|
|
!!! error TS2339: Property 'blah' does not exist on type 'C<{}>'. |