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.
11 lines
533 B
Plaintext
11 lines
533 B
Plaintext
tests/cases/compiler/emptyTypeArgumentListWithNew.ts(2,1): error TS2346: Supplied parameters do not match any signature of call target.
|
|
tests/cases/compiler/emptyTypeArgumentListWithNew.ts(2,8): error TS1099: Type argument list cannot be empty.
|
|
|
|
|
|
==== tests/cases/compiler/emptyTypeArgumentListWithNew.ts (2 errors) ====
|
|
class foo<T> { }
|
|
new foo<>();
|
|
~~~~~~~~~~~
|
|
!!! error TS2346: Supplied parameters do not match any signature of call target.
|
|
~~
|
|
!!! error TS1099: Type argument list cannot be empty. |