2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/conformance/parser/ecmascript5/ErrorRecovery/SwitchStatements/parserErrorRecovery_SwitchStatement2.ts(3,13): error TS2304: Cannot find name 'e'.
|
2014-12-17 00:56:56 +01:00
|
|
|
tests/cases/conformance/parser/ecmascript5/ErrorRecovery/SwitchStatements/parserErrorRecovery_SwitchStatement2.ts(5,1): error TS1130: 'case' or 'default' expected.
|
2014-09-12 22:35:07 +02:00
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/conformance/parser/ecmascript5/ErrorRecovery/SwitchStatements/parserErrorRecovery_SwitchStatement2.ts (2 errors) ====
|
|
|
|
class C {
|
|
|
|
constructor() {
|
|
|
|
switch (e) {
|
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'e'.
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
class D {
|
|
|
|
~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1130: 'case' or 'default' expected.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|