FunctionCall
EXPR
(Args?)
Args
| Arg (
,Arg)* (,EXPR...)? | (EXPR...)?
Arg
| EXPR | NameBindingMatch
Examples:
value.Method(42, *c, *a: 18)
func test(a int, variadic ...int) {}
test([1, 2, 3]...) // ok beacause [1, 2, 3] is [3]int => a is fill
var arr []int = [1, 2, 3]
test(arr...) // ko, a must be set explicitly because arr.Length is not known
test((arr as! [3]int)...) // ok