TypeScript/tests/baselines/reference/breakNotInIterationOrSwitchStatement2.errors.txt

11 lines
366 B
Plaintext
Raw Normal View History

tests/cases/compiler/breakNotInIterationOrSwitchStatement2.ts(3,5): error TS1107: Jump target cannot cross function boundary.
2014-08-22 03:39:46 +02:00
==== tests/cases/compiler/breakNotInIterationOrSwitchStatement2.ts (1 errors) ====
while (true) {
function f() {
break;
~~~~~~
!!! error TS1107: Jump target cannot cross function boundary.
2014-08-22 03:39:46 +02:00
}
}