This was we don't get noisy baselines just because a different phase of the compiler reported the diagnostic. This helps with Yui's refactoring work to move grammar checks into the type checker.
23 lines
No EOL
1.1 KiB
Text
23 lines
No EOL
1.1 KiB
Text
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.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/ErrorRecovery/ModuleElements/parserErrorRecovery_ModuleElement2.ts (4 errors) ====
|
|
function foo() {
|
|
~~~
|
|
!!! error TS2393: Duplicate function implementation.
|
|
}
|
|
|
|
function foo() {
|
|
~~~
|
|
!!! error TS2393: Duplicate function implementation.
|
|
}
|
|
|
|
)
|
|
~
|
|
!!! error TS1128: Declaration or statement expected.
|
|
)
|
|
~
|
|
!!! error TS1128: Declaration or statement expected. |