diff --git a/src/cmd/gc/subr.c b/src/cmd/gc/subr.c index 1bb83272c9..dfb425efcf 100644 --- a/src/cmd/gc/subr.c +++ b/src/cmd/gc/subr.c @@ -1384,6 +1384,7 @@ assignconv(Node *n, Type *t, char *context) r->type = t; r->typecheck = 1; r->implicit = 1; + r->orig = n; return r; }