From: cui Date: Tue, 6 Apr 2021 03:26:35 +0000 (+0000) Subject: cmd/compile/internal/typecheck: call tcConv directly X-Git-Tag: go1.17beta1~826 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=84162b8832;p=gostls13.git cmd/compile/internal/typecheck: call tcConv directly Change-Id: I9f71acfa93c47cff620b006918872ecd90bbebe9 GitHub-Last-Rev: 2fed2e23054d75f7a743f9c5a6e5574a545e3080 GitHub-Pull-Request: golang/go#45366 Reviewed-on: https://go-review.googlesource.com/c/go/+/307109 Reviewed-by: Keith Randall Run-TryBot: Keith Randall TryBot-Result: Go Bot Trust: Emmanuel Odeke --- diff --git a/src/cmd/compile/internal/typecheck/func.go b/src/cmd/compile/internal/typecheck/func.go index 86058a0c73..bc31284a85 100644 --- a/src/cmd/compile/internal/typecheck/func.go +++ b/src/cmd/compile/internal/typecheck/func.go @@ -459,7 +459,7 @@ func tcCall(n *ir.CallExpr, top int) ir.Node { n := ir.NewConvExpr(n.Pos(), ir.OCONV, nil, arg) n.SetType(l.Type()) - return typecheck1(n, top) + return tcConv(n) } typecheckargs(n)