chore: API and code cleanup. Rename stdlib.Value into stdlib.Symbols (#231)
This commit is contained in:
committed by
Ludovic Fernandez
parent
cc8e05d61b
commit
274c0fc47a
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user