2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakNotInIterationOrSwitchStatement2.ts(3,5): error TS1107: Jump target cannot cross function boundary.
|
|
|
|
|
|
|
|
|
2014-07-24 21:36:10 +02:00
|
|
|
==== tests/cases/conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakNotInIterationOrSwitchStatement2.ts (1 errors) ====
|
|
|
|
while (true) {
|
|
|
|
function f() {
|
|
|
|
break;
|
|
|
|
~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1107: Jump target cannot cross function boundary.
|
2014-07-24 21:36:10 +02:00
|
|
|
}
|
|
|
|
}
|