Files

14 lines
340 B
Plaintext

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