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.
16 lines
No EOL
647 B
Text
16 lines
No EOL
647 B
Text
tests/cases/compiler/missingArgument1.ts(1,1): error TS2304: Cannot find name 'foo'.
|
|
tests/cases/compiler/missingArgument1.ts(1,5): error TS2304: Cannot find name 'a'.
|
|
tests/cases/compiler/missingArgument1.ts(1,7): error TS1135: Argument expression expected.
|
|
tests/cases/compiler/missingArgument1.ts(1,8): error TS2304: Cannot find name 'b'.
|
|
|
|
|
|
==== tests/cases/compiler/missingArgument1.ts (4 errors) ====
|
|
foo(a,,b);
|
|
~~~
|
|
!!! error TS2304: Cannot find name 'foo'.
|
|
~
|
|
!!! error TS2304: Cannot find name 'a'.
|
|
|
|
!!! error TS1135: Argument expression expected.
|
|
~
|
|
!!! error TS2304: Cannot find name 'b'. |