From: Ken Thompson Date: Tue, 24 Feb 2009 06:43:04 +0000 (-0800) Subject: bug 130 (go/defer) interface.method() X-Git-Tag: weekly.2009-11-06~2141 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=751d13cbce4b51f55121c7b1b738cf773402768e;p=gostls13.git bug 130 (go/defer) interface.method() R=r OCL=25356 CL=25356 --- diff --git a/src/cmd/6g/gen.c b/src/cmd/6g/gen.c index e2c06d1967..d14ad30bb9 100644 --- a/src/cmd/6g/gen.c +++ b/src/cmd/6g/gen.c @@ -776,6 +776,7 @@ cgen_callinter(Node *n, Node *res, int proc) cgen(&nodo, &nodr); // REG = 32+offset(REG) -- i.m->fun[f] // BOTCH nodr.type = fntype; + nodr.type = n->left->type; ginscall(&nodr, proc); regfree(&nodr);