diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-14 15:54:59 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-14 15:54:59 +0800 |
commit | 72d3060bc60847d47d17fab4ff1b65bf0c3a1b8e (patch) | |
tree | 869649f47cb0c1a2abcc62dc9b2a8a8348d8d007 /script/vm/node.lua | |
parent | 0691911c68f777559599b997f85c83407b9f3d6b (diff) | |
download | lua-language-server-72d3060bc60847d47d17fab4ff1b65bf0c3a1b8e.zip |
update
Diffstat (limited to 'script/vm/node.lua')
-rw-r--r-- | script/vm/node.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/script/vm/node.lua b/script/vm/node.lua index e15788a5..7964c442 100644 --- a/script/vm/node.lua +++ b/script/vm/node.lua @@ -175,6 +175,12 @@ function mt:setFalsy() hasBoolean = true table.remove(self, index) self[c] = nil + goto CONTINUE + end + if (c.type == 'global' and c.cate == 'type') then + table.remove(self, index) + self[c] = nil + goto CONTINUE end ::CONTINUE:: end |