summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-08-17 16:12:13 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-08-17 16:12:13 +0800
commitc7db60b4629f0174da0679d47cbb2f7cb8813ed9 (patch)
tree4941c52dc408b98907148775edf54d3833a036c0 /script
parentfccef2c63a2bbdbf11373e6ee5b2be836476f314 (diff)
downloadlua-language-server-c7db60b4629f0174da0679d47cbb2f7cb8813ed9.zip
improve
Diffstat (limited to 'script')
-rw-r--r--script/core/noder.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/core/noder.lua b/script/core/noder.lua
index 2694a4fc..f77ad4b0 100644
--- a/script/core/noder.lua
+++ b/script/core/noder.lua
@@ -1192,8 +1192,8 @@ compileNodeMap = util.switch()
for _, rtn in ipairs(source.returns) do
local rtnObj = rtn[1]
if rtnObj then
- pushForward(noders, 'mainreturn', getID(rtnObj))
- pushBackward(noders, getID(rtnObj), 'mainreturn', INFO_DEEP)
+ pushForward(noders, 'mainreturn', getID(rtnObj), INFO_REJECT_SET)
+ pushBackward(noders, getID(rtnObj), 'mainreturn', INFO_DEEP_AND_REJECT_SET)
end
end
end