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

14 lines
697 B
Plaintext
Raw Normal View History

2015-04-27 03:31:47 +02:00
tests/cases/conformance/parser/ecmascript5/ErrorRecovery/parserModifierOnStatementInBlock3.ts(1,17): error TS1148: Cannot compile modules unless the '--module' flag is provided.
tests/cases/conformance/parser/ecmascript5/ErrorRecovery/parserModifierOnStatementInBlock3.ts(2,4): error TS1184: Modifiers cannot appear here.
==== tests/cases/conformance/parser/ecmascript5/ErrorRecovery/parserModifierOnStatementInBlock3.ts (2 errors) ====
2014-07-13 01:04:16 +02:00
export function foo() {
~~~
2015-04-27 03:31:47 +02:00
!!! error TS1148: Cannot compile modules unless the '--module' flag is provided.
2014-07-13 01:04:16 +02:00
export function bar() {
~~~~~~
!!! error TS1184: Modifiers cannot appear here.
2014-07-13 01:04:16 +02:00
}
}