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/inputs/cond.yue | |
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/inputs/cond.yue')
-rw-r--r-- | spec/inputs/cond.yue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/inputs/cond.yue b/spec/inputs/cond.yue index 773ef91..9981e93 100644 --- a/spec/inputs/cond.yue +++ b/spec/inputs/cond.yue | |||
@@ -158,7 +158,7 @@ do | |||
158 | ---------------- | 158 | ---------------- |
159 | 159 | ||
160 | a = 12 | 160 | a = 12 |
161 | a,c,b = "cool" if something | 161 | a,c,b = "cool", nil, nil if something |
162 | 162 | ||
163 | 163 | ||
164 | 164 | ||