Commit 7f082180 authored by Dmitriy Vyukov's avatar Dmitriy Vyukov

cnd/gc: fix build

R=golang-dev
CC=golang-dev
https://golang.org/cl/6856097
parent db8d7a29
......@@ -430,11 +430,8 @@ callinstr(Node **np, NodeList **init, int wr, int skip)
n = treecopy(n);
f = nod(OXDOT, n, newname(t1->sym));
f->type = t1;
<<<<<<< local
if(f->type->etype == TFIELD)
f->type = f->type->type;
=======
>>>>>>> other
if(callinstr(&f, init, wr, 0)) {
typecheck(&f, Erv);
res = 1;
......
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