]> Cypherpunks repositories - gostls13.git/commitdiff
more
authorKen Thompson <ken@golang.org>
Wed, 7 Jan 2009 23:54:08 +0000 (15:54 -0800)
committerKen Thompson <ken@golang.org>
Wed, 7 Jan 2009 23:54:08 +0000 (15:54 -0800)
R=r
OCL=22240
CL=22240

src/cmd/gc/walk.c

index 0c8788692b38fbc176a42563a49116578cf9336e..a364f85111f8c61b1c50c8bf65f5480dbcbda7a3 100644 (file)
@@ -2691,7 +2691,8 @@ arrayop(Node *n, int top)
                argtype(on, tl->type);                  // any-2
                r = nod(OCALL, on, r);
                walktype(r, top);
-               break;
+               n->left = r;
+               return n;
 
        case OAS:
                // arrays2d(old *any, nel int) (ary []any)