diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2023-01-04 20:56:29 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2023-01-04 20:56:29 +0800 |
commit | 1befa0b9aa893ad11acb858df5e3c636b05435c0 (patch) | |
tree | 1bc30f319b73cc28cf30f9e3d1275cc3aafccc96 /script/vm/node.lua | |
parent | 702b0e7abe33f099e26ce48fdd4d82d6c8d7af0e (diff) | |
download | lua-language-server-1befa0b9aa893ad11acb858df5e3c636b05435c0.zip |
fix removing dead nodes
Diffstat (limited to 'script/vm/node.lua')
-rw-r--r-- | script/vm/node.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/vm/node.lua b/script/vm/node.lua index ec1b9ef2..d45ed6a7 100644 --- a/script/vm/node.lua +++ b/script/vm/node.lua @@ -384,7 +384,7 @@ function mt:copy() return vm.createNode(self) end ----@param source vm.object +---@param source vm.object | vm.variable ---@param node vm.node | vm.node.object ---@param cover? boolean ---@return vm.node @@ -415,7 +415,7 @@ function vm.setNode(source, node, cover) return me end ----@param source vm.object +---@param source vm.object | vm.variable ---@return vm.node? function vm.getNode(source) return vm.nodeCache[source] |