diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-17 17:19:00 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-17 17:19:00 +0800 |
commit | be5ef0ab55f4cfa25c1a8a72c4f9df3c3adae16b (patch) | |
tree | abde9cd87cb262baa8da7ac0205ba3468b705e7f /script/vm/node.lua | |
parent | cf20156aa05c074d3f8ea2bf12277b4b06dfc8c4 (diff) | |
download | lua-language-server-be5ef0ab55f4cfa25c1a8a72c4f9df3c3adae16b.zip |
update
Diffstat (limited to 'script/vm/node.lua')
-rw-r--r-- | script/vm/node.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/script/vm/node.lua b/script/vm/node.lua index 1b3ea45c..39ed219e 100644 --- a/script/vm/node.lua +++ b/script/vm/node.lua @@ -214,6 +214,8 @@ function mt:remove(name) or (c.type == name) or (c.type == 'doc.type.integer' and (name == 'number' or name == 'integer')) or (c.type == 'doc.type.boolean' and name == 'boolean') + or (c.type == 'doc.type.boolean' and name == 'true' and c[1] == true) + or (c.type == 'doc.type.boolean' and name == 'false' and c[1] == false) or (c.type == 'doc.type.table' and name == 'table') or (c.type == 'doc.type.array' and name == 'table') or (c.type == 'doc.type.function' and name == 'function') then |