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