This vastly improves our error tolerance and messages for when the user writes an illegal heritage clause sequence.
11 lines
No EOL
714 B
Text
11 lines
No EOL
714 B
Text
tests/cases/conformance/parser/ecmascript5/ErrorRecovery/ExtendsOrImplementsClauses/parserErrorRecovery_ExtendsOrImplementsClause3.ts(1,16): error TS1097: 'extends' list cannot be empty.
|
|
tests/cases/conformance/parser/ecmascript5/ErrorRecovery/ExtendsOrImplementsClauses/parserErrorRecovery_ExtendsOrImplementsClause3.ts(1,28): error TS2304: Cannot find name 'A'.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/ErrorRecovery/ExtendsOrImplementsClauses/parserErrorRecovery_ExtendsOrImplementsClause3.ts (2 errors) ====
|
|
class C extends implements A {
|
|
|
|
!!! error TS1097: 'extends' list cannot be empty.
|
|
~
|
|
!!! error TS2304: Cannot find name 'A'.
|
|
} |