diff options
Diffstat (limited to 'src/compile.cpp')
-rw-r--r-- | src/compile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compile.cpp b/src/compile.cpp index 647c7d5..65721fc 100644 --- a/src/compile.cpp +++ b/src/compile.cpp @@ -27,7 +27,7 @@ static CVal compile_symbol(CEnv& cenv, const ASymbol* sym) throw() { if (cenv.vals.topLevel(sym) && cenv.type(sym)->head()->str() != "Fn") { - return cenv.engine()->getGlobal(cenv, sym->cppstr, *cenv.vals.ref(sym)); + return cenv.engine()->compileGlobalGet(cenv, sym->cppstr, *cenv.vals.ref(sym)); } else { return *cenv.vals.ref(sym); } |