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