14 lines
394 B
Plaintext
14 lines
394 B
Plaintext
tests/cases/compiler/continueTarget5.ts(5,7): error TS1107: Jump target cannot cross function boundary.
|
|
|
|
|
|
==== tests/cases/compiler/continueTarget5.ts (1 errors) ====
|
|
target:
|
|
while (true) {
|
|
function f() {
|
|
while (true) {
|
|
continue target;
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS1107: Jump target cannot cross function boundary.
|
|
}
|
|
}
|
|
} |