commit | 51072eb1fb2c380284cd0f87e61d1589201c3eea | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Thu May 24 23:05:36 2012 -0400 |
committer | Russ Cox <rsc@golang.org> | Thu May 24 23:05:36 2012 -0400 |
tree | 12867624528dcbdac61ba1af36ae029f794c510f | |
parent | bf18d57d4a186302ed7a3b07d60cd6facda08a71 [diff] |
cmd/gc: fix parallel assignment in range for expr1, expr2 = range slice was assigning to expr1 and expr2 in sequence instead of in parallel. Now it assigns in parallel, as it should. This matters for things like for i, x[i] = range slice. Fixes #3464. R=ken2 CC=golang-dev https://golang.org/cl/6252048