13 lines
No EOL
336 B
Text
13 lines
No EOL
336 B
Text
==== 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'. |