15 lines
No EOL
388 B
Text
15 lines
No EOL
388 B
Text
tests/cases/compiler/breakTarget5.ts(6,7): error TS1107: Jump target cannot cross function boundary.
|
|
|
|
|
|
==== tests/cases/compiler/breakTarget5.ts (1 errors) ====
|
|
|
|
target:
|
|
while (true) {
|
|
function f() {
|
|
while (true) {
|
|
break target;
|
|
~~~~~~~~~~~~~
|
|
!!! error TS1107: Jump target cannot cross function boundary.
|
|
}
|
|
}
|
|
} |