aboutsummaryrefslogtreecommitdiff
path: root/syntax_tree.moon
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2018-10-03 16:26:24 -0700
committerBruce Hill <bruce@bruce-hill.com>2018-10-03 16:26:29 -0700
commit2f68357cb6800e97edd31abfc707d7c7905faa64 (patch)
tree8ead999f5e3d9f0c207f73c7f498d813177db519 /syntax_tree.moon
parentb615cb5c8e638cffe77bbe5cb86c9362e2b2fc18 (diff)
Some incremental progress.
Diffstat (limited to 'syntax_tree.moon')
-rw-r--r--syntax_tree.moon4
1 files changed, 2 insertions, 2 deletions
diff --git a/syntax_tree.moon b/syntax_tree.moon
index 926ea09..f3d3aee 100644
--- a/syntax_tree.moon
+++ b/syntax_tree.moon
@@ -82,8 +82,8 @@ for name in *types
__call: (t)=>
if type(t.source) == 'string'
t.source = Source\from_string(t.source)
- else
- assert(Source\is_instance(t.source))
+ --else
+ -- assert(Source\is_instance(t.source))
setmetatable(t, @)
if init = t.__init then init(t)
return t