Files
tsgo/testdata/baselines/reference/submodule/compiler/breakNotInIterationOrSwitchStatement2.errors.txt

11 lines
324 B
Plaintext

breakNotInIterationOrSwitchStatement2.ts(3,5): error TS1107: Jump target cannot cross function boundary.
==== breakNotInIterationOrSwitchStatement2.ts (1 errors) ====
while (true) {
function f() {
break;
~~~~~~
!!! error TS1107: Jump target cannot cross function boundary.
}
}