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

16 lines
419 B
Text
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/conformance/parser/ecmascript5/ErrorRecovery/ModuleElements/parserErrorRecovery_ModuleElement2.ts (3 errors) ====
function foo() {
}
function foo() {
~~~~~~~~~~~~~~~~
}
~
!!! error TS2393: Duplicate function implementation.
2014-07-13 01:04:16 +02:00
)
~
!!! error TS1128: Declaration or statement expected.
2014-07-13 01:04:16 +02:00
)
~
!!! error TS1128: Declaration or statement expected.