TypeScript/tests/baselines/reference/parserErrorRecovery_ModuleElement2.errors.txt
2014-09-11 16:11:08 -07:00

16 lines
419 B
Plaintext

==== tests/cases/conformance/parser/ecmascript5/ErrorRecovery/ModuleElements/parserErrorRecovery_ModuleElement2.ts (3 errors) ====
function foo() {
}
function foo() {
~~~~~~~~~~~~~~~~
}
~
!!! error TS2393: Duplicate function implementation.
)
~
!!! error TS1128: Declaration or statement expected.
)
~
!!! error TS1128: Declaration or statement expected.