Commit bf5f24b9 authored by Josh Bleecher Snyder's avatar Josh Bleecher Snyder

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: default avatarMatthew Dempsky <mdempsky@google.com>
parent 98047376
...@@ -859,7 +859,7 @@ func maplit(ctxt int, n *Node, var_ *Node, init *Nodes) { ...@@ -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")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment