2014-09-12 22:35:07 +02:00
tests/cases/conformance/parser/ecmascript5/ErrorRecovery/parserModifierOnStatementInBlock3.ts(1,1): error TS1148: Cannot compile external modules unless the '--module' flag is provided.
tests/cases/conformance/parser/ecmascript5/ErrorRecovery/parserModifierOnStatementInBlock3.ts(2,4): error TS1129: Statement expected.
tests/cases/conformance/parser/ecmascript5/ErrorRecovery/parserModifierOnStatementInBlock3.ts(4,1): error TS1128: Declaration or statement expected.
2014-07-13 01:04:16 +02:00
==== tests/cases/conformance/parser/ecmascript5/ErrorRecovery/parserModifierOnStatementInBlock3.ts (3 errors) ====
export function foo() {
~~~~~~~~~~~~~~~~~~~~~~~
2014-09-12 00:19:57 +02:00
!!! error TS1148: Cannot compile external modules unless the '--module' flag is provided.
2014-07-13 01:04:16 +02:00
export function bar() {
~~~~~~
2014-09-12 00:19:57 +02:00
!!! error TS1129: Statement expected.
2014-07-13 01:04:16 +02:00
}
}
~
2014-09-12 00:19:57 +02:00
!!! error TS1128: Declaration or statement expected.
2014-07-13 01:04:16 +02:00