From 0ca14d8e6c37f5d1360178034851f36c636a7a43 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Thu, 9 Nov 2023 18:30:16 +0800 Subject: fix a missing case for condition chaining. --- spec/inputs/cond.yue | 2 ++ 1 file changed, 2 insertions(+) (limited to 'spec/inputs/cond.yue') diff --git a/spec/inputs/cond.yue b/spec/inputs/cond.yue index f5f42a8..5bc6c9b 100644 --- a/spec/inputs/cond.yue +++ b/spec/inputs/cond.yue @@ -247,6 +247,7 @@ do a = x and y or v(1) < v(2) < v(3) and b < v(4) < v(5) < v(6) a = v(1) < v(2) < v(3) and b < v(4) < v(5) < v(6) or x and y a = x and y or v(1) < v(2) < v(3) and b < v(4) < v(5) < v(6) or w and z + a = 1 < 2 == v1 > 3 local v1, v2, v3, v4, v5, v6 a = v1 < v2 < v3 < v4 @@ -258,6 +259,7 @@ do a = x and y or v1 < v2 < v3 and b < v4 < v5 < v6 a = v1 < v2 < v3 and b < v4 < v5 < v6 or x and y a = x and y or v1 < v2 < v3 and b < v4 < v5 < v6 or w and z + a = 1 < 2 == v1 > 3 nil -- cgit v1.2.3-55-g6feb