TypeScript/tests/baselines/reference/parserErrorRecovery_ClassElement1.errors.txt
2014-07-12 17:30:19 -07:00

9 lines
387 B
Plaintext

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