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/metatable.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/metatable.yue')
-rw-r--r-- | spec/inputs/metatable.yue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/inputs/metatable.yue b/spec/inputs/metatable.yue index 7e9b4f2..86991c2 100644 --- a/spec/inputs/metatable.yue +++ b/spec/inputs/metatable.yue | |||
@@ -24,7 +24,7 @@ do | |||
24 | 24 | ||
25 | x.abc, a.b.# = 123, {} | 25 | x.abc, a.b.# = 123, {} |
26 | func!.# = mt --, extra | 26 | func!.# = mt --, extra |
27 | a, b.c.#, d, e = 1, mt, "abc" | 27 | a, b.c.#, d, e = 1, mt, "abc", nil |
28 | 28 | ||
29 | is_same = a.#.__index == a.index# | 29 | is_same = a.#.__index == a.index# |
30 | 30 | ||