TypeScript/tests/baselines/reference/parserErrorRecovery_ModuleElement1.errors.txt
2014-07-23 12:07:46 -07:00

13 lines
430 B
Plaintext

==== tests/cases/conformance/parser/ecmascript5/ErrorRecovery/ModuleElements/parserErrorRecovery_ModuleElement1.ts (4 errors) ====
return foo;
~~~~~~
!!! A 'return' statement can only be used within a function body.
}
~
!!! Declaration or statement expected.
return bar;
~~~~~~
!!! A 'return' statement can only be used within a function body.
}
~
!!! Declaration or statement expected.