diff --git a/src/cmd/compile/internal/types2/call.go b/src/cmd/compile/internal/types2/call.go index 5ecd54ab0b..5a7ae221e6 100644 --- a/src/cmd/compile/internal/types2/call.go +++ b/src/cmd/compile/internal/types2/call.go @@ -129,7 +129,7 @@ func (check *Checker) call(x *operand, call *syntax.CallExpr) exprKind { } } if call.HasDots { - check.errorf(call.ArgList[0], "invalid use of ... in type conversion to %s)", T) + check.errorf(call.ArgList[0], "invalid use of ... in type conversion to %s", T) break } check.conversion(x, T)