summaryrefslogtreecommitdiff
path: root/script/vm
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-28 03:23:55 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-28 03:23:55 +0800
commitabdeade219bde1714fd8f145652d42315e1e6d25 (patch)
tree018962a9f93b3b8159a3c146fd64dd33901380f6 /script/vm
parentae024958da9a14ed837495f79972a85458ee3f0c (diff)
downloadlua-language-server-abdeade219bde1714fd8f145652d42315e1e6d25.zip
new diag ``redundant-return-value``
Diffstat (limited to 'script/vm')
-rw-r--r--script/vm/runner.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/vm/runner.lua b/script/vm/runner.lua
index 0dd33595..b8ac13fd 100644
--- a/script/vm/runner.lua
+++ b/script/vm/runner.lua
@@ -113,7 +113,8 @@ end
---@param action parser.object
---@param topNode vm.node
---@param outNode? vm.node
----@return vm.node
+---@return vm.node topNode
+---@return vm.node outNode
function mt:_lookInto(action, topNode, outNode)
if not action then
return topNode, outNode