1
0
mirror of https://github.com/golang/go synced 2024-11-22 21:10:03 -07:00

new new &Point{1,2}

R=ken
OCL=22168
CL=22168
This commit is contained in:
Russ Cox 2009-01-06 15:24:12 -08:00
parent 5564504507
commit dabdfa6cce

View File

@ -979,8 +979,8 @@ loop:
nvar = nod(0, N, N);
tempname(nvar, t);
nnew = nod(OMAKE, N, N);
nnew->type = t;
nnew = nod(ONEW, N, N);
nnew->type = n->left->type;
nnew = newcompat(nnew);
nas = nod(OAS, nvar, nnew);