TypeScript/tests/baselines/reference/breakTarget5.errors.txt

11 lines
262 B
Text
Raw Normal View History

2014-08-22 03:39:46 +02:00
==== tests/cases/compiler/breakTarget5.ts (1 errors) ====
target:
while (true) {
function f() {
while (true) {
break target;
~~~~~~~~~~~~~
!!! Jump target cannot cross function boundary.
}
}
}