aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2021-02-20 17:34:52 +0800
committerLi Jin <dragon-fly@qq.com>2021-02-20 17:34:52 +0800
commitc44cab60b7b6cf0a36e1dd011c2fe483e8d87b38 (patch)
tree9fcf8a06e63991a27b8f73b4e5040788338d115f /spec
parent3ea3f9b1c42eae103c370a986f539a0f1550db9f (diff)
downloadyuescript-c44cab60b7b6cf0a36e1dd011c2fe483e8d87b38.tar.gz
yuescript-c44cab60b7b6cf0a36e1dd011c2fe483e8d87b38.tar.bz2
yuescript-c44cab60b7b6cf0a36e1dd011c2fe483e8d87b38.zip
fix issue in destructure syntax.
Diffstat (limited to 'spec')
-rw-r--r--spec/inputs/destructure.yue6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/inputs/destructure.yue b/spec/inputs/destructure.yue
index 49e6393..6b52441 100644
--- a/spec/inputs/destructure.yue
+++ b/spec/inputs/destructure.yue
@@ -22,6 +22,12 @@ do
22 22
23 {a, :b, c, :d, e, :f, g} = tbl 23 {a, :b, c, :d, e, :f, g} = tbl
24 24
25 do :a, :b, c = tbl
26
27 do :a, b, :c = tbl
28
29 do a, :b, :c = tbl
30
25--- 31---
26 32
27do 33do