diff options
author | Li Jin <dragon-fly@qq.com> | 2022-07-26 18:05:23 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2022-07-26 18:05:23 +0800 |
commit | 0f5bdeaeba0f04e49c47f4a2be55b14185a7dfdd (patch) | |
tree | b5baa6c385ce58c60615ff0577a1e2b6850f044d /spec/outputs/cond.lua | |
parent | e191defb6545509a4ae0b402f2fac1fbe18551cd (diff) | |
download | yuescript-0f5bdeaeba0f04e49c47f4a2be55b14185a7dfdd.tar.gz yuescript-0f5bdeaeba0f04e49c47f4a2be55b14185a7dfdd.tar.bz2 yuescript-0f5bdeaeba0f04e49c47f4a2be55b14185a7dfdd.zip |
fix missing checks and issues related to destrucuring in if branches.
Diffstat (limited to 'spec/outputs/cond.lua')
-rw-r--r-- | spec/outputs/cond.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/outputs/cond.lua b/spec/outputs/cond.lua index 178bf9b..7764439 100644 --- a/spec/outputs/cond.lua +++ b/spec/outputs/cond.lua | |||
@@ -251,7 +251,7 @@ end | |||
251 | local a = 12 | 251 | local a = 12 |
252 | local c, b | 252 | local c, b |
253 | if something then | 253 | if something then |
254 | a, c, b = "cool" | 254 | a, c, b = "cool", nil, nil |
255 | end | 255 | end |
256 | local j | 256 | local j |
257 | if 1 then | 257 | if 1 then |