summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2021-08-19 00:14:08 +0800
committerLi Jin <dragon-fly@qq.com>2021-08-19 00:14:08 +0800
commiteb4c34ed2ff266877e90749afa512391e470321b (patch)
treeb22fc74c288a68d0c85b9b8b03ec58602798a72c /spec
parent38908616d0e08b72e6b00d18490ed917fa643e4f (diff)
downloadyuescript-0.8.1.tar.gz
yuescript-0.8.1.tar.bz2
yuescript-0.8.1.zip
fix a missed case for issue #64.v0.8.1
Diffstat (limited to 'spec')
-rw-r--r--spec/inputs/destructure.yue7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/inputs/destructure.yue b/spec/inputs/destructure.yue
index c46cef5..e1c6b27 100644
--- a/spec/inputs/destructure.yue
+++ b/spec/inputs/destructure.yue
@@ -171,3 +171,10 @@ do
171 171
172do 172do
173 {x: {#: mt = {}, sub#: subFunc}} = tb 173 {x: {#: mt = {}, sub#: subFunc}} = tb
174
175do
176 {a = 1, b = 2, c: {d.e = 3}} = tb
177
178 for {left = "null", right = false} in *tuples
179 print left, right
180