mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: move Node.Typecheck to flags
Change-Id: Id5aa4a1499068bf2d3497b21d794f970b7e47fdf Reviewed-on: https://go-review.googlesource.com/41795 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
e2560ace3c
commit
502a03ffcf
13 changed files with 67 additions and 64 deletions
|
|
@ -1083,7 +1083,7 @@ func anylit(n *Node, var_ *Node, init *Nodes) {
|
|||
r = typecheck(r, Erv)
|
||||
} else {
|
||||
r = nod(ONEW, nil, nil)
|
||||
r.Typecheck = 1
|
||||
r.SetTypecheck(1)
|
||||
r.Type = t
|
||||
r.Esc = n.Esc
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue