9 lines
No EOL
351 B
Text
9 lines
No EOL
351 B
Text
tests/cases/compiler/breakTarget6.ts(2,3): error TS1116: A 'break' statement can only jump to a label of an enclosing statement.
|
|
|
|
|
|
==== tests/cases/compiler/breakTarget6.ts (1 errors) ====
|
|
while (true) {
|
|
break target;
|
|
~~~~~~~~~~~~~
|
|
!!! error TS1116: A 'break' statement can only jump to a label of an enclosing statement.
|
|
} |