mirror of
https://github.com/golang/go
synced 2024-11-20 04:34:41 -07:00
segfault
R=rsc OCL=31467 CL=31467
This commit is contained in:
parent
f7ac313629
commit
ed124a971e
@ -1204,6 +1204,7 @@ oldname(Sym *s)
|
||||
c->outer = n->closure;
|
||||
n->closure = c;
|
||||
c->closure = n;
|
||||
if(funclit != N)
|
||||
funclit->cvars = list(c, funclit->cvars);
|
||||
}
|
||||
// return ref to closure var, not original
|
||||
|
Loading…
Reference in New Issue
Block a user