diff options
| author | Russ Cox <rsc@golang.org> | 2008-12-18 21:15:26 -0800 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2008-12-18 21:15:26 -0800 |
| commit | 78fc888e643eebbe812460506b978a052e930568 (patch) | |
| tree | df7490a298d32165b0562229435d63bd282b0509 | |
| parent | 92f74ca7e27ba252645ca5ef6fa35aa86605a506 (diff) | |
| download | go-78fc888e643eebbe812460506b978a052e930568.tar.xz | |
another [] fix
R=ken
OCL=21566
CL=21566
| -rw-r--r-- | src/cmd/gc/walk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/gc/walk.c b/src/cmd/gc/walk.c index 54645438a0..55fd025f3a 100644 --- a/src/cmd/gc/walk.c +++ b/src/cmd/gc/walk.c @@ -962,7 +962,7 @@ loop: tempname(nvar, ptrto(n->left->type)); nnew = nod(ONEW, N, N); - nnew->type = nvar->type; + nnew->type = n->left->type; nnew = newcompat(nnew); nas = nod(OAS, nvar, nnew); |
