TypeScript/tests/baselines/reference/parser_breakNotInIterationOrSwitchStatement2.errors.txt
2014-09-11 16:11:08 -07:00

8 lines
291 B
Plaintext

==== 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.
}
}