chore: API and code cleanup. Rename stdlib.Value into stdlib.Symbols (#231)

This commit is contained in:
Marc Vertes
2019-06-27 12:40:04 +02:00
committed by Ludovic Fernandez
parent cc8e05d61b
commit 274c0fc47a
314 changed files with 383 additions and 401 deletions

View File

@@ -363,7 +363,7 @@ func nodeType(interp *Interpreter, sc *scope, n *node) (*itype, error) {
}
switch sym.typ.cat {
case binPkgT:
pkg := interp.binValue[sym.path]
pkg := interp.binPkg[sym.path]
if v, ok := pkg[name]; ok {
t.cat = valueT
t.rtype = v.Type()