mirror of
https://github.com/golang/go
synced 2024-09-15 22:20:06 +00:00
gc: resolve built-ins to built-in symbol
R=lvd CC=golang-dev https://golang.org/cl/5480049
This commit is contained in:
parent
fc128403dc
commit
e77f057bf3
|
@ -1745,7 +1745,7 @@ lexinit(void)
|
|||
s1 = pkglookup(syms[i].name, builtinpkg);
|
||||
s1->lexical = LNAME;
|
||||
s1->def = nod(ONAME, N, N);
|
||||
s1->def->sym = s;
|
||||
s1->def->sym = s1;
|
||||
s1->def->etype = etype;
|
||||
s1->def->builtin = 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue