aboutsummaryrefslogtreecommitdiff
path: root/syntax_tree.moon
diff options
context:
space:
mode:
Diffstat (limited to 'syntax_tree.moon')
-rw-r--r--syntax_tree.moon1
1 files changed, 1 insertions, 0 deletions
diff --git a/syntax_tree.moon b/syntax_tree.moon
index 03596f8..207fb9b 100644
--- a/syntax_tree.moon
+++ b/syntax_tree.moon
@@ -10,6 +10,7 @@ as_lua = =>
if mt = getmetatable(@)
if _as_lua = mt.as_lua
return _as_lua(@)
+ return @as_lua! if @as_lua
error("Not supported: #{@}")
--types = {"Number", "Var", "Block", "EscapedNomsu", "Text", "List", "Dict", "DictEntry",