2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/trailingSeparatorInFunctionCall.ts(4,7): error TS1009: Trailing comma not allowed.
|
|
|
|
tests/cases/compiler/trailingSeparatorInFunctionCall.ts(9,8): error TS1009: Trailing comma not allowed.
|
2014-09-26 22:51:13 +02:00
|
|
|
tests/cases/compiler/trailingSeparatorInFunctionCall.ts(4,1): error TS2346: Supplied parameters do not match any signature of call target.
|
|
|
|
tests/cases/compiler/trailingSeparatorInFunctionCall.ts(9,1): error TS2346: Supplied parameters do not match any signature of call target.
|
2014-09-12 22:35:07 +02:00
|
|
|
|
|
|
|
|
2014-09-26 22:51:13 +02:00
|
|
|
==== tests/cases/compiler/trailingSeparatorInFunctionCall.ts (4 errors) ====
|
2014-07-13 01:04:16 +02:00
|
|
|
function f(x, y) {
|
|
|
|
}
|
|
|
|
|
|
|
|
f(1, 2, );
|
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1009: Trailing comma not allowed.
|
2014-09-26 22:51:13 +02:00
|
|
|
~~~~~~~~~
|
|
|
|
!!! error TS2346: Supplied parameters do not match any signature of call target.
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
function f2<T>(x: T, y: T) {
|
|
|
|
}
|
|
|
|
|
|
|
|
f2(1, 2, );
|
|
|
|
~
|
2014-09-26 22:51:13 +02:00
|
|
|
!!! error TS1009: Trailing comma not allowed.
|
|
|
|
~~~~~~~~~~
|
|
|
|
!!! error TS2346: Supplied parameters do not match any signature of call target.
|