Commit e77f057b authored by Russ Cox's avatar Russ Cox

gc: resolve built-ins to built-in symbol

R=lvd
CC=golang-dev
https://golang.org/cl/5480049
parent fc128403
......@@ -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;
}
......
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