TypeScript/tests/baselines/reference/parserErrorRecovery_SwitchStatement2.js
2015-12-08 17:51:10 -08:00

22 lines
376 B
TypeScript

//// [parserErrorRecovery_SwitchStatement2.ts]
class C {
constructor() {
switch (e) {
class D {
}
//// [parserErrorRecovery_SwitchStatement2.js]
var C = (function () {
function C() {
switch (e) {
}
var D = (function () {
function D() {
}
return D;
}());
}
return C;
}());