From: Rob Findley Date: Fri, 11 Dec 2020 21:29:08 +0000 (-0500) Subject: [dev.typeparams] cmd/compile/internal/types2: fix stray ')' in error X-Git-Tag: go1.17beta1~1473^2~156 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8ec9e890008e681dcebdae50379b785eb6f160bb;p=gostls13.git [dev.typeparams] cmd/compile/internal/types2: fix stray ')' in error I missed this in the review of CL 277072, but noticed it in CL 277352. Change-Id: I432e3569eb4a935cee19805225f02c424d54011e Reviewed-on: https://go-review.googlesource.com/c/go/+/277962 Trust: Robert Findley Run-TryBot: Robert Findley Reviewed-by: Robert Griesemer TryBot-Result: Go Bot --- 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)