Files
tsgo/testdata/tests/cases/compiler/unreachableFlowAfterThrowingForHead1.ts

16 lines
273 B
TypeScript

// @strict: true
// @noEmit: true
// @allowUnreachableCode: true, false
try {
for (
(function () { throw "1"; })();
(function* () { throw "2"; })();
(function* () { throw "3"; })()
) {
console.log("1");
}
}
catch (e) { }
as ;