From: Russ Cox Date: Fri, 19 Dec 2008 05:15:26 +0000 (-0800) Subject: another [] fix X-Git-Tag: weekly.2009-11-06~2483 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=78fc888e643eebbe812460506b978a052e930568;p=gostls13.git another [] fix R=ken OCL=21566 CL=21566 --- 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);