git » jacl.git » commit 1e11d99

fix func ref

author Alan Dipert
2020-08-21 05:20:15 UTC
committer Alan Dipert
2020-08-21 05:20:15 UTC
parent 3e353dc4ffb0cbaeadbf4441c07fa8fdf1a6995a

fix func ref

jacl.js +1 -1

diff --git a/jacl.js b/jacl.js
index 7d99d83..6182226 100644
--- a/jacl.js
+++ b/jacl.js
@@ -1695,7 +1695,7 @@ class Env {
     return this.locals.has(sym);
   }
   functionEnvId(sym) {
-    return this.locals.get(sym);
+    return this.localFunctions.get(sym);
   }
   hasLocalFunction(sym) {
     return this.localFunctions.has(sym);