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

23 lines
1.1 KiB
Text
Raw Normal View History

2014-10-01 20:27:20 +02:00
tests/cases/conformance/parser/ecmascript5/ErrorRecovery/ModuleElements/parserErrorRecovery_ModuleElement2.ts(1,10): error TS2393: Duplicate function implementation.
tests/cases/conformance/parser/ecmascript5/ErrorRecovery/ModuleElements/parserErrorRecovery_ModuleElement2.ts(4,10): error TS2393: Duplicate function implementation.
tests/cases/conformance/parser/ecmascript5/ErrorRecovery/ModuleElements/parserErrorRecovery_ModuleElement2.ts(7,1): error TS1128: Declaration or statement expected.
tests/cases/conformance/parser/ecmascript5/ErrorRecovery/ModuleElements/parserErrorRecovery_ModuleElement2.ts(8,1): error TS1128: Declaration or statement expected.
2014-10-01 02:15:18 +02:00
==== tests/cases/conformance/parser/ecmascript5/ErrorRecovery/ModuleElements/parserErrorRecovery_ModuleElement2.ts (4 errors) ====
2014-07-13 01:04:16 +02:00
function foo() {
2014-10-01 20:27:20 +02:00
~~~
2014-10-01 02:15:18 +02:00
!!! error TS2393: Duplicate function implementation.
2014-10-01 20:27:20 +02:00
}
2014-07-13 01:04:16 +02:00
function foo() {
2014-10-01 20:27:20 +02:00
~~~
!!! error TS2393: Duplicate function implementation.
2014-10-01 20:27:20 +02:00
}
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.