14 lines
No EOL
494 B
Text
14 lines
No EOL
494 B
Text
tests/cases/conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakTarget5.ts(5,7): error TS1107: Jump target cannot cross function boundary.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakTarget5.ts (1 errors) ====
|
|
target:
|
|
while (true) {
|
|
function f() {
|
|
while (true) {
|
|
break target;
|
|
~~~~~~~~~~~~~
|
|
!!! error TS1107: Jump target cannot cross function boundary.
|
|
}
|
|
}
|
|
} |