14 lines
No EOL
370 B
Text
14 lines
No EOL
370 B
Text
==== tests/cases/conformance/parser/ecmascript5/ErrorRecovery/SwitchStatements/parserErrorRecovery_SwitchStatement1.ts (3 errors) ====
|
|
switch (e) {
|
|
~
|
|
!!! Cannot find name 'e'.
|
|
case 1:
|
|
1 +
|
|
case 2:
|
|
~~~~
|
|
!!! Expression expected.
|
|
1 +
|
|
default:
|
|
~~~~~~~
|
|
!!! Expression expected.
|
|
} |