closure bug: carry along outnamed flag.

R=ken
OCL=26930
CL=26930
This commit is contained in:
Russ Cox 2009-03-30 19:21:36 -07:00
parent bac922c6e1
commit 941ed00b1d

View File

@ -573,6 +573,7 @@ funclit1(Type *type, Node *body)
out = rev(out);
ft = functype(N, in, out);
ft->outnamed = type->outnamed;
}
// declare function.