f1a2e41a8a
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.
19 lines
1,007 B
Plaintext
19 lines
1,007 B
Plaintext
tests/cases/conformance/parser/ecmascript5/ErrorRecovery/ArgumentLists/parserErrorRecovery_ArgumentList4.ts(2,4): error TS2304: Cannot find name 'bar'.
|
|
tests/cases/conformance/parser/ecmascript5/ErrorRecovery/ArgumentLists/parserErrorRecovery_ArgumentList4.ts(2,8): error TS2304: Cannot find name 'a'.
|
|
tests/cases/conformance/parser/ecmascript5/ErrorRecovery/ArgumentLists/parserErrorRecovery_ArgumentList4.ts(2,10): error TS2304: Cannot find name 'b'.
|
|
tests/cases/conformance/parser/ecmascript5/ErrorRecovery/ArgumentLists/parserErrorRecovery_ArgumentList4.ts(3,4): error TS1005: ',' expected.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/ErrorRecovery/ArgumentLists/parserErrorRecovery_ArgumentList4.ts (4 errors) ====
|
|
function foo() {
|
|
bar(a,b
|
|
~~~
|
|
!!! error TS2304: Cannot find name 'bar'.
|
|
~
|
|
!!! error TS2304: Cannot find name 'a'.
|
|
~
|
|
!!! error TS2304: Cannot find name 'b'.
|
|
return;
|
|
~~~~~~
|
|
!!! error TS1005: ',' expected.
|
|
} |