2015-03-05 03:15:55 +01:00
tests/cases/conformance/parser/ecmascript5/ErrorRecovery/parserModifierOnStatementInBlock1.ts(1,17): error TS1148: Cannot compile external modules unless the '--module' flag is provided.
2014-12-12 12:46:32 +01:00
tests/cases/conformance/parser/ecmascript5/ErrorRecovery/parserModifierOnStatementInBlock1.ts(2,4): error TS1184: Modifiers cannot appear here.
2014-09-12 22:35:07 +02:00
2014-12-12 12:46:32 +01:00
==== tests/cases/conformance/parser/ecmascript5/ErrorRecovery/parserModifierOnStatementInBlock1.ts (2 errors) ====
2014-07-13 01:04:16 +02:00
export function foo() {
2015-03-05 03:15:55 +01:00
~~~
!!! error TS1148: Cannot compile external modules unless the '--module' flag is provided.
2014-07-13 01:04:16 +02:00
export var x = this;
~~~~~~
2014-12-12 12:46:32 +01:00
!!! error TS1184: Modifiers cannot appear here.
2014-07-13 01:04:16 +02:00
}