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/local.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/local.yue')
-rw-r--r-- | spec/inputs/local.yue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/inputs/local.yue b/spec/inputs/local.yue index 8e04742..a801fb7 100644 --- a/spec/inputs/local.yue +++ b/spec/inputs/local.yue | |||
@@ -3,7 +3,7 @@ do | |||
3 | local a | 3 | local a |
4 | local a,b,c | 4 | local a,b,c |
5 | 5 | ||
6 | b,g = 23232 | 6 | b,g = 23232,nil |
7 | 7 | ||
8 | 8 | ||
9 | do | 9 | do |