From 04e3cd43cee426cd5c2fa1d0fab5fabc7f19c039 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Tue, 26 May 2020 16:12:44 +0800 Subject: make back call operator use highest priority for operator precedence. --- spec/inputs/backcall.moon | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'spec') diff --git a/spec/inputs/backcall.moon b/spec/inputs/backcall.moon index 30a0f8f..5f53f9e 100644 --- a/spec/inputs/backcall.moon +++ b/spec/inputs/backcall.moon @@ -107,3 +107,7 @@ alert "hi" x = 123 |> a |> b or 456 |> c |> d or a.if\then("abc") or a?.b\c?(123) or x\y +y = 1 + # 2 |> a ^ c |> b(3,_) ^ 4 * -123 |> f |> f1 or 123 + +nil + -- cgit v1.2.3-55-g6feb