TypeScript/tests/baselines/reference/trailingSeparatorInFunctionCall.errors.txt

14 lines
292 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/trailingSeparatorInFunctionCall.ts (2 errors) ====
function f(x, y) {
}
f(1, 2, );
~
!!! Trailing comma not allowed.
function f2<T>(x: T, y: T) {
}
f2(1, 2, );
~
!!! Trailing comma not allowed.