aboutsummaryrefslogtreecommitdiff
path: root/syntax_tree.moon
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-01-16 21:33:02 -0800
committerBruce Hill <bruce@bruce-hill.com>2019-01-16 21:33:30 -0800
commit520acd39795766354fc44c6e15f5f33f255ca33a (patch)
treea4a538dd72ab9a1e229ec3d44beb86b80cfbe7ba /syntax_tree.moon
parent517d661368611fe753e9fd97a7adb2e45fca745e (diff)
Overhauling OO-API a little to make it more minimalistic.
Diffstat (limited to 'syntax_tree.moon')
-rw-r--r--syntax_tree.moon2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax_tree.moon b/syntax_tree.moon
index b8c0b9d..eb9c87c 100644
--- a/syntax_tree.moon
+++ b/syntax_tree.moon
@@ -107,7 +107,7 @@ class SyntaxTree
@is_instance: (t)=>
type(t) == 'table' and getmetatable(t) == @__base
-SyntaxTree.__base.__type = "Syntax Tree"
+SyntaxTree.__base.__type = "a Syntax Tree"
getmetatable(SyntaxTree).__call = (t, ...)=>
if type(t.source) == 'string'