mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: use t.Key() instead of t.Down
This was the only unconverted instance. Change-Id: Ic0ba75824614fcd1e055316e62e26acd06801dd1 Reviewed-on: https://go-review.googlesource.com/21247 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> Reviewed-by: Matthew Dempsky <mdempsky@google.com>
This commit is contained in:
parent
98047376fb
commit
bf5f24b98e
1 changed files with 1 additions and 1 deletions
|
|
@ -859,7 +859,7 @@ func maplit(ctxt int, n *Node, var_ *Node, init *Nodes) {
|
||||||
if b != 0 {
|
if b != 0 {
|
||||||
// build type [count]struct { a Tindex, b Tvalue }
|
// build type [count]struct { a Tindex, b Tvalue }
|
||||||
t := n.Type
|
t := n.Type
|
||||||
tk := t.Down
|
tk := t.Key()
|
||||||
tv := t.Type
|
tv := t.Type
|
||||||
|
|
||||||
syma := Lookup("a")
|
syma := Lookup("a")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue