diff options
author | Li Jin <dragon-fly@qq.com> | 2023-12-19 23:29:07 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2023-12-19 23:29:07 +0800 |
commit | 7de25e2ef75a748356c79d0015a5d934dde4c216 (patch) | |
tree | 4b6eb791750a93e1ab68066cd503247dba91f80d /spec/outputs/attrib.lua | |
parent | 8a7b5cc48c22f910a02320b547b76283307a1b83 (diff) | |
download | yuescript-7de25e2ef75a748356c79d0015a5d934dde4c216.tar.gz yuescript-7de25e2ef75a748356c79d0015a5d934dde4c216.tar.bz2 yuescript-7de25e2ef75a748356c79d0015a5d934dde4c216.zip |
fix a const list destructuring case.
Diffstat (limited to 'spec/outputs/attrib.lua')
-rw-r--r-- | spec/outputs/attrib.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/outputs/attrib.lua b/spec/outputs/attrib.lua index 919b7e0..181555f 100644 --- a/spec/outputs/attrib.lua +++ b/spec/outputs/attrib.lua | |||
@@ -30,6 +30,16 @@ do | |||
30 | end | 30 | end |
31 | end | 31 | end |
32 | do | 32 | do |
33 | local a, b | ||
34 | do | ||
35 | local _obj_0 = { | ||
36 | 2, | ||
37 | 3 | ||
38 | } | ||
39 | a, b = _obj_0[1], _obj_0[2] | ||
40 | end | ||
41 | end | ||
42 | do | ||
33 | local v <close> = (function() | 43 | local v <close> = (function() |
34 | if flag then | 44 | if flag then |
35 | return func() | 45 | return func() |