11 lines
No EOL
314 B
Text
11 lines
No EOL
314 B
Text
==== tests/cases/conformance/parser/ecmascript5/ErrorRecovery/SwitchStatements/parserErrorRecovery_SwitchStatement2.ts (2 errors) ====
|
|
class C {
|
|
constructor() {
|
|
switch (e) {
|
|
~
|
|
!!! Cannot find name 'e'.
|
|
|
|
class D {
|
|
~~~~~
|
|
!!! 'case' or 'default' expected.
|
|
} |