summaryrefslogtreecommitdiff
path: root/script/vm/compiler.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-13 03:25:56 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-13 03:25:56 +0800
commit5f5760aa9b1d5351b41e3c5aba6607721341e49c (patch)
tree6f635d8825815f6710c97ef01711e52cdf756f90 /script/vm/compiler.lua
parent7fdc3519e62f00f236956d272295b241d4bfa762 (diff)
downloadlua-language-server-5f5760aa9b1d5351b41e3c5aba6607721341e49c.zip
cleanup
Diffstat (limited to 'script/vm/compiler.lua')
-rw-r--r--script/vm/compiler.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua
index c74d2780..2393544c 100644
--- a/script/vm/compiler.lua
+++ b/script/vm/compiler.lua
@@ -370,7 +370,7 @@ local function getReturn(func, index, args)
return m.compileNode(ast)
end
local node = m.compileNode(func)
- ---@type vm.node.union
+ ---@type vm.union
local result
if node then
for cnode in nodeMgr.eachObject(node) do
@@ -1519,6 +1519,7 @@ function m.resumeCache()
end
---@param source vm.object
+---@param uri? uri
---@return vm.node
function m.compileNode(source, uri)
if not source then