Source:
struct A {}
struct B {}
let a = A()
let b = B()
func f(a: A..., _ b: B) {}
f(a, a, b)
Output:
error: missing argument for parameter #2 in call
f(a, a, b)
^
Source:
struct A {}
struct B {}
let a = A()
let b = B()
func f(a: A..., _ b: B) {}
f(a, a, b)
Output:
error: missing argument for parameter #2 in call
f(a, a, b)
^