summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to '')
-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