8 lines
236 B
Plaintext
8 lines
236 B
Plaintext
==== tests/cases/compiler/continueNotInIterationStatement2.ts (1 errors) ====
|
|
while (true) {
|
|
function f() {
|
|
continue;
|
|
~~~~~~~~~
|
|
!!! error TS1107: Jump target cannot cross function boundary.
|
|
}
|
|
} |