aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/syntax.yue
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2022-07-26 11:34:34 +0800
committerLi Jin <dragon-fly@qq.com>2022-07-26 11:34:34 +0800
commitf7150a004e26f446fbf7a47bae368f209248fa67 (patch)
tree28cbfc756cfef955a6a40f62d3395920938256db /spec/inputs/syntax.yue
parent13c7eb4252e8c4228fabf1ade13b7b9bcbd80656 (diff)
downloadyuescript-f7150a004e26f446fbf7a47bae368f209248fa67.tar.gz
yuescript-f7150a004e26f446fbf7a47bae368f209248fa67.tar.bz2
yuescript-f7150a004e26f446fbf7a47bae368f209248fa67.zip
make destructuring work on function multiple returned values, fix `a, b[] = 1` crashing issue, no longer support implicit declaring variable to be nil.
Diffstat (limited to 'spec/inputs/syntax.yue')
-rw-r--r--spec/inputs/syntax.yue2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/inputs/syntax.yue b/spec/inputs/syntax.yue
index d18bd0e..e274f1a 100644
--- a/spec/inputs/syntax.yue
+++ b/spec/inputs/syntax.yue
@@ -2,7 +2,7 @@
2 2
3a = 1 + 2* 3 / 6 3a = 1 + 2* 3 / 6
4 4
5a, bunch, go, here = another, world 5a, bunch, go, here = another, world, nil, nil
6 6
7func arg1, arg2, another, arg3 7func arg1, arg2, another, arg3
8 8