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

fix b/1722502

BUG=1722502
R=ken
OCL=26526
CL=26526
This commit is contained in:
Russ Cox 2009-03-18 19:20:54 -07:00
parent 658ca49898
commit f7772627ad

View File

@ -1806,6 +1806,9 @@ mkdotargs(Node *r, Node *rr, Iter *saver, Node *nn, Type *l, int fp)
while(r != N) {
defaultlit(r, T);
if(r->type == T) // type check failed
return N;
// generate the next structure field
t = typ(TFIELD);
t->type = r->type;