mirror of
https://github.com/golang/go
synced 2024-11-15 11:10:22 -07:00
[release-branch.go1] cmd/gc: mark output of typename as type-checked
««« backport d39a44280dd3 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
24ee3e4eef
commit
cec2715018
@ -629,6 +629,7 @@ typename(Type *t)
|
|||||||
n->ullman = 1;
|
n->ullman = 1;
|
||||||
n->class = PEXTERN;
|
n->class = PEXTERN;
|
||||||
n->xoffset = 0;
|
n->xoffset = 0;
|
||||||
|
n->typecheck = 1;
|
||||||
s->def = n;
|
s->def = n;
|
||||||
|
|
||||||
signatlist = list(signatlist, typenod(t));
|
signatlist = list(signatlist, typenod(t));
|
||||||
@ -638,6 +639,7 @@ typename(Type *t)
|
|||||||
n->type = ptrto(s->def->type);
|
n->type = ptrto(s->def->type);
|
||||||
n->addable = 1;
|
n->addable = 1;
|
||||||
n->ullman = 2;
|
n->ullman = 2;
|
||||||
|
n->typecheck = 1;
|
||||||
return n;
|
return n;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user