diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-07-11 16:19:44 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-07-11 16:19:44 +0800 |
commit | 2abeaaf81dd8c288a27a2c9638bf5b527ece3463 (patch) | |
tree | 5f2d0b80b997e1f1362af3e17456fa6538125bf2 /script/vm/node.lua | |
parent | 492ed7f90f8fe575c64d4689b2963bd0674da0f9 (diff) | |
download | lua-language-server-2abeaaf81dd8c288a27a2c9638bf5b527ece3463.zip |
fix infers
Diffstat (limited to 'script/vm/node.lua')
-rw-r--r-- | script/vm/node.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/script/vm/node.lua b/script/vm/node.lua index 65a2108f..49207b13 100644 --- a/script/vm/node.lua +++ b/script/vm/node.lua @@ -216,6 +216,11 @@ function mt:setFalsy() self[c] = nil goto CONTINUE end + if guide.isLiteral(c) then + table.remove(self, index) + self[c] = nil + goto CONTINUE + end ::CONTINUE:: end if hasBoolean then |