From 5440b846a04802626dd5c4ebc8d19e52eb5afc99 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Thu, 14 May 2020 10:39:00 +0800 Subject: fix issue of unary and binary operator "~". --- spec/inputs/syntax.moon | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'spec') diff --git a/spec/inputs/syntax.moon b/spec/inputs/syntax.moon index 23b44ce..8504ae3 100644 --- a/spec/inputs/syntax.moon +++ b/spec/inputs/syntax.moon @@ -313,5 +313,25 @@ invokeA \ |> invokeB \ |> invokeA +v = { + a -1 + a-1 + a - 1 + a - +1 + a -\ +1 + a - --[[123]]1 + + a ~1 + a~1 + a ~ 1 + a ~ +1 + a ~\ +1 + a ~--[[123]]1 +} + nil -- cgit v1.2.3-55-g6feb