aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/class.moon
diff options
context:
space:
mode:
Diffstat (limited to 'spec/inputs/class.moon')
-rw-r--r--spec/inputs/class.moon16
1 files changed, 16 insertions, 0 deletions
diff --git a/spec/inputs/class.moon b/spec/inputs/class.moon
index 83f3760..3288dc6 100644
--- a/spec/inputs/class.moon
+++ b/spec/inputs/class.moon
@@ -210,4 +210,20 @@ class Wowha extends Thing
210 super\hello 210 super\hello
211 } 211 }
212 212
213do
214 class Test
215 new: => @@if = true
216 @do: => 1
217 test: => @@if and @@do!
218 test = Test!
219 test\test!
220
221do
222 class Test
223 new: => @if = true
224 do: => 1
225 test: => @if and @do!
226 test = Test!
227 test\test!
228
213nil 229nil