This vastly improves our error tolerance and messages for when the user writes an illegal heritage clause sequence.
12 lines
No EOL
373 B
Text
12 lines
No EOL
373 B
Text
tests/cases/compiler/implementsClauseAlreadySeen.ts(4,22): error TS1175: 'implements' clause already seen.
|
|
|
|
|
|
==== tests/cases/compiler/implementsClauseAlreadySeen.ts (1 errors) ====
|
|
class C {
|
|
|
|
}
|
|
class D implements C implements C {
|
|
~~~~~~~~~~
|
|
!!! error TS1175: 'implements' clause already seen.
|
|
baz() { }
|
|
} |