diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-07-05 16:04:12 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-07-05 16:04:12 +0800 |
commit | e711f30dbcf840e8adec49a78d734d1a0306934b (patch) | |
tree | bb93c69ebfc9363554b939a1f93696fa4ad2f608 /script/vm/node.lua | |
parent | a00de14e61b02e3b015fe33f8c01b748113bf4ce (diff) | |
download | lua-language-server-e711f30dbcf840e8adec49a78d734d1a0306934b.zip |
resolve #1280
Diffstat (limited to 'script/vm/node.lua')
-rw-r--r-- | script/vm/node.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/node.lua b/script/vm/node.lua index f0d0b0ba..5d8bcd75 100644 --- a/script/vm/node.lua +++ b/script/vm/node.lua @@ -227,7 +227,7 @@ function mt:remove(name) 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.sign' and name == 'table') + or (c.type == 'doc.type.sign' and name == 'table') or (c.type == 'doc.type.function' and name == 'function') then table.remove(self, index) self[c] = nil |