aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2020-05-26 16:12:44 +0800
committerLi Jin <dragon-fly@qq.com>2020-05-26 16:12:44 +0800
commit04e3cd43cee426cd5c2fa1d0fab5fabc7f19c039 (patch)
treedcbf5ce830f5c59a32d4bca9e3df08ac891e14b8 /spec
parente183579847e5c49b3062e0e5acd3ca320fc1229b (diff)
downloadyuescript-04e3cd43cee426cd5c2fa1d0fab5fabc7f19c039.tar.gz
yuescript-04e3cd43cee426cd5c2fa1d0fab5fabc7f19c039.tar.bz2
yuescript-04e3cd43cee426cd5c2fa1d0fab5fabc7f19c039.zip
make back call operator use highest priority for operator precedence.
Diffstat (limited to 'spec')
-rw-r--r--spec/inputs/backcall.moon4
1 files changed, 4 insertions, 0 deletions
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"
107 107
108x = 123 |> a |> b or 456 |> c |> d or a.if\then("abc") or a?.b\c?(123) or x\y 108x = 123 |> a |> b or 456 |> c |> d or a.if\then("abc") or a?.b\c?(123) or x\y
109 109
110y = 1 + # 2 |> a ^ c |> b(3,_) ^ 4 * -123 |> f |> f1 or 123
111
112nil
113