Commit f7772627 authored by Russ Cox's avatar Russ Cox

fix b/1722502

BUG=1722502
R=ken
OCL=26526
CL=26526
parent 658ca498
...@@ -1806,6 +1806,9 @@ mkdotargs(Node *r, Node *rr, Iter *saver, Node *nn, Type *l, int fp) ...@@ -1806,6 +1806,9 @@ mkdotargs(Node *r, Node *rr, Iter *saver, Node *nn, Type *l, int fp)
while(r != N) { while(r != N) {
defaultlit(r, T); defaultlit(r, T);
if(r->type == T) // type check failed
return N;
// generate the next structure field // generate the next structure field
t = typ(TFIELD); t = typ(TFIELD);
t->type = r->type; t->type = r->type;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment