InvalidDotDotDot occurs when a "..." is used in a non-variadic built-in function. Example: var s = []int{1, 2, 3} var l = len(s...)