From f7b674213bd996016cb94c44ef22736a6cbdf6f3 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Thu, 14 Jul 2022 17:35:04 +0800 Subject: fix else clause issue in switch statement with table matching. --- spec/inputs/switch.yue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/inputs') diff --git a/spec/inputs/switch.yue b/spec/inputs/switch.yue index 9e7ecfd..08330bf 100644 --- a/spec/inputs/switch.yue +++ b/spec/inputs/switch.yue @@ -146,7 +146,7 @@ do do switch y - when {x: #:mt} + when {x: #: mt} print mt nil -- cgit v1.2.3-55-g6feb