From ed317e62eb1cf98fde4461fc90c6cb1045ebc7e8 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Sat, 25 Jan 2020 17:48:03 +0800 Subject: fix Moonscript issue 375. --- spec/inputs/return.moon | 66 ++++++++++++++++++++++++------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) (limited to 'spec/inputs/return.moon') diff --git a/spec/inputs/return.moon b/spec/inputs/return.moon index 98c3104..f170ffd 100644 --- a/spec/inputs/return.moon +++ b/spec/inputs/return.moon @@ -6,48 +6,48 @@ _ = -> [x for x in *things] -- doesn't make sense on purpose do - return x for x in *things + return x for x in *things do - return [x for x in *things] + return [x for x in *things] do - return {x,y for x,y in *things} + return {x,y for x,y in *things} _ = -> - if a - if a - a - else - b - elseif b - if a - a - else - b - else - if a - a - else - b + if a + if a + a + else + b + elseif b + if a + a + else + b + else + if a + a + else + b do - return if a - if a - a - else - b - elseif b - if a - a - else - b - else - if a - a - else - b + return if a + if a + a + else + b + elseif b + if a + a + else + b + else + if a + a + else + b _ = -> a\b do a\b -- cgit v1.2.3-55-g6feb