diff options
author | Li Jin <dragon-fly@qq.com> | 2022-07-26 11:34:34 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2022-07-26 11:34:34 +0800 |
commit | f7150a004e26f446fbf7a47bae368f209248fa67 (patch) | |
tree | 28cbfc756cfef955a6a40f62d3395920938256db /spec/inputs/syntax.yue | |
parent | 13c7eb4252e8c4228fabf1ade13b7b9bcbd80656 (diff) | |
download | yuescript-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.yue | 2 |
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 | ||
3 | a = 1 + 2* 3 / 6 | 3 | a = 1 + 2* 3 / 6 |
4 | 4 | ||
5 | a, bunch, go, here = another, world | 5 | a, bunch, go, here = another, world, nil, nil |
6 | 6 | ||
7 | func arg1, arg2, another, arg3 | 7 | func arg1, arg2, another, arg3 |
8 | 8 | ||