13 lines
336 B
Plaintext
13 lines
336 B
Plaintext
|
==== tests/cases/compiler/genericCallWithoutArgs.ts (4 errors) ====
|
||
|
function f<X, Y>(x: X, y: Y) {
|
||
|
}
|
||
|
|
||
|
f<number,string>.
|
||
|
~
|
||
|
!!! Expression expected.
|
||
|
|
||
|
!!! Identifier expected.
|
||
|
~~~~~~
|
||
|
!!! Cannot find name 'number'.
|
||
|
~~~~~~
|
||
|
!!! Cannot find name 'string'.
|