aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/destructure.yue
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2025-05-26 11:07:38 +0800
committerLi Jin <dragon-fly@qq.com>2025-05-26 11:07:38 +0800
commita91135ce512f907ed085d9aac147d8fcad356406 (patch)
treee53408fe0a88ef71ea33d14bcb0b6eeb3a344810 /spec/inputs/destructure.yue
parent4ba4c90e711c6204aa40e38347c5a5a076d9370e (diff)
downloadyuescript-a91135ce512f907ed085d9aac147d8fcad356406.tar.gz
yuescript-a91135ce512f907ed085d9aac147d8fcad356406.tar.bz2
yuescript-a91135ce512f907ed085d9aac147d8fcad356406.zip
Added assignment expression for switch syntax.
Diffstat (limited to 'spec/inputs/destructure.yue')
-rw-r--r--spec/inputs/destructure.yue2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/inputs/destructure.yue b/spec/inputs/destructure.yue
index 674dfe4..9f01a20 100644
--- a/spec/inputs/destructure.yue
+++ b/spec/inputs/destructure.yue
@@ -94,7 +94,7 @@ do
94-- 94--
95 95
96do 96do
97 with {a,b} = thing 97 with {a,b} := thing
98 print a, b 98 print a, b
99 99
100 100