6 lines
273 B
Plaintext
6 lines
273 B
Plaintext
==== tests/cases/conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakTarget6.ts (1 errors) ====
|
|
while (true) {
|
|
break target;
|
|
~~~~~~~~~~~~~
|
|
!!! error TS1116: A 'break' statement can only jump to a label of an enclosing statement.
|
|
} |