2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/continueTarget5.ts(5,7): error TS1107: Jump target cannot cross function boundary.
|
|
|
|
|
|
|
|
|
2014-08-22 03:39:46 +02:00
|
|
|
==== tests/cases/compiler/continueTarget5.ts (1 errors) ====
|
|
|
|
target:
|
|
|
|
while (true) {
|
|
|
|
function f() {
|
|
|
|
while (true) {
|
|
|
|
continue target;
|
|
|
|
~~~~~~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1107: Jump target cannot cross function boundary.
|
2014-08-22 03:39:46 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|