From 7682305156719aad1397d9eb63e97ecdb8393316 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Tue, 30 Jun 2020 12:15:25 +0800 Subject: fix issue when declaring multiple variables with attribute. --- spec/inputs/attrib.moon | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'spec/inputs') diff --git a/spec/inputs/attrib.moon b/spec/inputs/attrib.moon index a5fa376..bc1e67e 100644 --- a/spec/inputs/attrib.moon +++ b/spec/inputs/attrib.moon @@ -1,6 +1,9 @@ do - close a = setmetatable {},__close:=> print "closed" - const a = 123 + close a, b = setmetatable {},__close:=> print "closed" + const c, d = 123, 'abc' + + close a, b + const c, d do close v = if flag -- cgit v1.2.3-55-g6feb