mirror of
https://github.com/golang/go.git
synced 2025-05-31 23:25:39 +00:00
closure bug: carry along outnamed flag.
R=ken OCL=26930 CL=26930
This commit is contained in:
parent
bac922c6e1
commit
941ed00b1d
@ -573,6 +573,7 @@ funclit1(Type *type, Node *body)
|
||||
out = rev(out);
|
||||
|
||||
ft = functype(N, in, out);
|
||||
ft->outnamed = type->outnamed;
|
||||
}
|
||||
|
||||
// declare function.
|
||||
|
Loading…
x
Reference in New Issue
Block a user