mirror of
https://github.com/golang/go
synced 2024-11-25 05:17:57 -07:00
sinit.c: recursion in sinit
fixes #1617 R=rsc CC=golang-dev https://golang.org/cl/4277059
This commit is contained in:
parent
bf91e827ac
commit
61c83b6407
@ -203,7 +203,7 @@ walkrange(Node *n)
|
||||
hb = nod(OXXX, N, N);
|
||||
tempname(hb, types[TBOOL]);
|
||||
|
||||
n->ntest = hb;
|
||||
n->ntest = nod(ONE, hb, nodbool(0));
|
||||
a = nod(OAS2RECV, N, N);
|
||||
a->typecheck = 1;
|
||||
a->list = list(list1(hv1), hb);
|
||||
|
Loading…
Reference in New Issue
Block a user