9 lines
No EOL
387 B
Text
9 lines
No EOL
387 B
Text
==== tests/cases/conformance/parser/ecmascript5/ErrorRecovery/ClassElements/parserErrorRecovery_ClassElement1.ts (1 errors) ====
|
|
class C {
|
|
|
|
// Classes can't be nested. So we should bail out of parsing here and recover
|
|
// this as a source unit element.
|
|
class D {
|
|
~~~~~
|
|
!!! Unexpected token. A constructor, method, accessor, or property was expected.
|
|
} |