This vastly improves our error tolerance and messages for when the user writes an illegal heritage clause sequence.
9 lines
No EOL
325 B
Text
9 lines
No EOL
325 B
Text
tests/cases/compiler/classHeritageWithTrailingSeparator.ts(2,18): error TS1009: Trailing comma not allowed.
|
|
|
|
|
|
==== tests/cases/compiler/classHeritageWithTrailingSeparator.ts (1 errors) ====
|
|
class C { foo: number }
|
|
class D extends C, {
|
|
~
|
|
!!! error TS1009: Trailing comma not allowed.
|
|
} |