14 lines
No EOL
697 B
Text
14 lines
No EOL
697 B
Text
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) ====
|
|
export function foo() {
|
|
~~~
|
|
!!! error TS1148: Cannot compile modules unless the '--module' flag is provided.
|
|
export function bar() {
|
|
~~~~~~
|
|
!!! error TS1184: Modifiers cannot appear here.
|
|
}
|
|
}
|
|
|