From cb5371a7dcfde196db07f5a2a3f144888b73d522 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Thu, 6 Aug 2020 10:32:05 +0800 Subject: remove support for escape new line symbol, binary operator expressions can now be written multiline without escape new line symbol. --- spec/inputs/backcall.moon | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'spec/inputs/backcall.moon') diff --git a/spec/inputs/backcall.moon b/spec/inputs/backcall.moon index 86b0ba3..a648b16 100644 --- a/spec/inputs/backcall.moon +++ b/spec/inputs/backcall.moon @@ -1,10 +1,10 @@ {"abc", 123, 998} |> foreach print -{1,2,3} \ - |> map((x)-> x * 2) \ - |> filter((x)-> x > 4) \ - |> reduce(0, (a,b)-> a + b) \ +{1,2,3} + |> map((x)-> x * 2) + |> filter((x)-> x > 4) + |> reduce(0, (a,b)-> a + b) |> print [i |> tostring for i = 0,10] |> table.concat(",") |> print -- cgit v1.2.3-55-g6feb