aboutsummaryrefslogtreecommitdiffstats
path: root/core/const.moon
diff options
context:
space:
mode:
Diffstat (limited to 'core/const.moon')
-rw-r--r--core/const.moon3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/const.moon b/core/const.moon
index e1d19d9..b356f49 100644
--- a/core/const.moon
+++ b/core/const.moon
@@ -1,4 +1,4 @@
-import Op, Action from require 'core.base'
+import Op, Action, FnDef from require 'core.base'
local Scope
load_ = ->
@@ -93,6 +93,7 @@ class Const
switch ancestor val.__class
when Op then 'op'
when Scope then 'scope'
+ when FnDef then 'fndef'
when Const
return val
else