mirror of
https://github.com/golang/go
synced 2024-11-20 09:04:44 -07:00
cmd/gc: mark output of typename as type-checked
R=ken2 CC=golang-dev https://golang.org/cl/6302051
This commit is contained in:
parent
c8fac7b967
commit
8022a1a588
@ -640,6 +640,7 @@ typename(Type *t)
|
||||
n->ullman = 1;
|
||||
n->class = PEXTERN;
|
||||
n->xoffset = 0;
|
||||
n->typecheck = 1;
|
||||
s->def = n;
|
||||
|
||||
signatlist = list(signatlist, typenod(t));
|
||||
@ -649,6 +650,7 @@ typename(Type *t)
|
||||
n->type = ptrto(s->def->type);
|
||||
n->addable = 1;
|
||||
n->ullman = 2;
|
||||
n->typecheck = 1;
|
||||
return n;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user