diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2023-01-16 17:00:56 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2023-01-16 17:00:56 +0800 |
commit | 15fa11654114e7451d64a726f6ad9d6abbd92b35 (patch) | |
tree | 6b4cf1e91f505713e5e4a21521567f16b14d5cfa /script/vm/node.lua | |
parent | 158a7588081f480809e5d8b50ef098dc5ff70042 (diff) | |
download | lua-language-server-15fa11654114e7451d64a726f6ad9d6abbd92b35.zip |
improve type infer of recursion alias
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 cec0a36f..0ffd8c70 100644 --- a/script/vm/node.lua +++ b/script/vm/node.lua @@ -397,7 +397,7 @@ function mt:copy() return vm.createNode(self) end ----@param source vm.object | vm.variable +---@param source vm.node.object | vm.generic ---@param node vm.node | vm.node.object ---@param cover? boolean ---@return vm.node @@ -428,7 +428,7 @@ function vm.setNode(source, node, cover) return me end ----@param source vm.object | vm.variable +---@param source vm.node.object ---@return vm.node? function vm.getNode(source) return vm.nodeCache[source] |