]> Cypherpunks repositories - gostls13.git/commitdiff
bug060
authorKen Thompson <ken@golang.org>
Sun, 5 Oct 2008 00:11:01 +0000 (17:11 -0700)
committerKen Thompson <ken@golang.org>
Sun, 5 Oct 2008 00:11:01 +0000 (17:11 -0700)
R=r
OCL=16497
CL=16497

src/cmd/gc/walk.c

index eee99ac00b655fed9a776bb0547f734bc6d63052..a8f3a7782ff473c2308dd81a19561f0474a6fba7 100644 (file)
@@ -2104,6 +2104,8 @@ mapop(Node *n, int top)
                a = nod(n->etype, a, n->right);         // m[tmpi] op right
                a = nod(OAS, n->left, a);               // map[tmpi] = map[tmpi] op right
                r = nod(OLIST, r, a);
+               walktype(r, Etop);
+               break;
        }
        return r;