aboutsummaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug385_64.go
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2016-04-30 22:28:37 -0700
committerKeith Randall <khr@golang.org>2016-05-01 22:11:45 +0000
commitade0eb2f0689b4d88d425451387c516013fd4b20 (patch)
tree853ab284b22b6b1913df4fd436684965e236d11b /test/fixedbugs/bug385_64.go
parent24c05e7e695767a46ce6e48d2492c29ba7adffc4 (diff)
downloadgo-ade0eb2f0689b4d88d425451387c516013fd4b20.tar.xz
cmd/compile: fix reslice
:= is the wrong thing here. The new variable masks the old variable so we allocate the slice afresh each time around the loop. Change-Id: I759c30e1bfa88f40decca6dd7d1e051e14ca0844 Reviewed-on: https://go-review.googlesource.com/22679 Run-TryBot: Keith Randall <khr@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Minux Ma <minux@golang.org>
Diffstat (limited to 'test/fixedbugs/bug385_64.go')
0 files changed, 0 insertions, 0 deletions