TypeScript/tests/baselines/reference/classHeritageWithTrailingSeparator.errors.txt
Cyrus Najmabadi 16e28156e5 Support arbitrary numbers of implements and extends clauses (with arbitrary numbers of types) for classes and interfaces.
This vastly improves our error tolerance and messages for when the user writes an illegal heritage clause sequence.
2014-11-30 15:38:45 -08:00

9 lines
325 B
Plaintext

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.
}