title: NonVariadicDotDotDot layout: article
NonVariadicDotDotDot occurs when a "..." is used on the final argument to
a non-variadic function.
Example:
func printArgs(s []string) {
for _, a := range s {
println(a)
}
}
func f() {
s := []string{"a", "b", "c"}
printArgs(s...)
}