diff options
author | cui <cuiweixie@gmail.com> | 2021-04-06 03:26:35 +0000 |
---|---|---|
committer | Emmanuel Odeke <emmanuel@orijtech.com> | 2021-04-06 09:22:20 +0000 |
commit | 84162b88324aa7993fe4a8580a2b65c6a7055f88 (patch) | |
tree | c5ed5dffda99ce210564b18dffaba2af3aa9a165 /src/cmd/compile/internal/typecheck/func.go | |
parent | a25c58462992704dbb6819769f530b6cc6a8ebe3 (diff) | |
download | go-84162b88324aa7993fe4a8580a2b65c6a7055f88.tar.gz go-84162b88324aa7993fe4a8580a2b65c6a7055f88.zip |
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 <khr@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Emmanuel Odeke <emmanuel@orijtech.com>
Diffstat (limited to 'src/cmd/compile/internal/typecheck/func.go')
-rw-r--r-- | src/cmd/compile/internal/typecheck/func.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) |