TypeScript/tests/baselines/reference/breakNotInIterationOrSwitchStatement1.errors.txt

7 lines
388 B
Plaintext
Raw Normal View History

tests/cases/compiler/breakNotInIterationOrSwitchStatement1.ts(1,1): error TS1105: A 'break' statement can only be used within an enclosing iteration or switch statement.
2014-08-22 03:39:46 +02:00
==== tests/cases/compiler/breakNotInIterationOrSwitchStatement1.ts (1 errors) ====
break;
~~~~~~
!!! error TS1105: A 'break' statement can only be used within an enclosing iteration or switch statement.