diff options
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/inputs/destructure.yue | 7 |
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 | ||
| 172 | do | 172 | do |
| 173 | {x: {#: mt = {}, sub#: subFunc}} = tb | 173 | {x: {#: mt = {}, sub#: subFunc}} = tb |
| 174 | |||
| 175 | do | ||
| 176 | {a = 1, b = 2, c: {d.e = 3}} = tb | ||
| 177 | |||
| 178 | for {left = "null", right = false} in *tuples | ||
| 179 | print left, right | ||
| 180 | |||
