This vastly improves our error tolerance and messages for when the user writes an illegal heritage clause sequence.
8 lines
No EOL
382 B
Text
8 lines
No EOL
382 B
Text
tests/cases/compiler/implementClausePrecedingExtends.ts(2,22): error TS1173: 'extends' clause must precede 'implements' clause.
|
|
|
|
|
|
==== tests/cases/compiler/implementClausePrecedingExtends.ts (1 errors) ====
|
|
class C { foo: number }
|
|
class D implements C extends C { }
|
|
~~~~~~~
|
|
!!! error TS1173: 'extends' clause must precede 'implements' clause. |