From feac3c1cba6ca95b911240217f74a494680cd057 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Fri, 24 Apr 2020 16:17:44 +0800 Subject: fix errors when explicitly declaring global or local variable initialized with table block. --- spec/inputs/plus.moon | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'spec/inputs/plus.moon') diff --git a/spec/inputs/plus.moon b/spec/inputs/plus.moon index f455845..38d3a08 100644 --- a/spec/inputs/plus.moon +++ b/spec/inputs/plus.moon @@ -17,3 +17,21 @@ valB = do func = getfunc! func?! +global backpack = + something: + yeah: 200 + they: -> + print "hello" + yor_feet"small" + pretty: hair + gold: hmm + yow: 1000 + + eat: goo + yeah: dudd + +start = + something: "cold" + +local bathe = + on: "fire" -- cgit v1.2.3-55-g6feb