mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile/internal/typecheck: call tcConv directly
Change-Id: I9f71acfa93c47cff620b006918872ecd90bbebe9
GitHub-Last-Rev: 2fed2e2305
GitHub-Pull-Request: golang/go#45366
Reviewed-on: https://go-review.googlesource.com/c/go/+/307109
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Emmanuel Odeke <emmanuel@orijtech.com>
This commit is contained in:
parent
a25c584629
commit
84162b8832
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue