1
0
mirror of https://github.com/golang/go synced 2024-11-25 03:07:56 -07:00

sinit.c: recursion in sinit

fixes #1617

R=rsc
CC=golang-dev
https://golang.org/cl/4277059
This commit is contained in:
Ken Thompson 2011-03-17 16:47:00 -07:00
parent bf91e827ac
commit 61c83b6407

View File

@ -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);