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

11 lines
643 B
Text
Raw Normal View History

tests/cases/conformance/parser/ecmascript5/ErrorRecovery/parserPublicBreak1.ts(1,1): error TS1128: Declaration or statement expected.
tests/cases/conformance/parser/ecmascript5/ErrorRecovery/parserPublicBreak1.ts(1,8): error TS1105: A 'break' statement can only be used within an enclosing iteration or switch statement.
==== tests/cases/conformance/parser/ecmascript5/ErrorRecovery/parserPublicBreak1.ts (2 errors) ====
2014-07-13 01:04:16 +02:00
public break;
~~~~~~
!!! error TS1128: Declaration or statement expected.
~~~~~~
!!! error TS1105: A 'break' statement can only be used within an enclosing iteration or switch statement.
2014-07-13 01:04:16 +02:00