From fcb480618f162817572947cfed96b1ba0d6c5a44 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Thu, 20 Jul 2023 18:25:10 +0800 Subject: fix wrong codes generation for in-expression. --- spec/inputs/in_expression.yue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'spec/inputs') diff --git a/spec/inputs/in_expression.yue b/spec/inputs/in_expression.yue index 4080016..6e923e1 100644 --- a/spec/inputs/in_expression.yue +++ b/spec/inputs/in_expression.yue @@ -39,7 +39,14 @@ do not_exist = item not in list check item in list check item in {1, 2, 3} - check item in {[1]: 1, [2]: 2, [3]: 3} + check item(...) in {[1]: 1, [2]: 2, [3]: 3} + +do + check -> x in tb + check -> x not in tb + local x, tb + check -> return x in tb + check -> x not in tb nil -- cgit v1.2.3-55-g6feb