diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-08-17 16:12:13 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-08-17 16:12:13 +0800 |
commit | c7db60b4629f0174da0679d47cbb2f7cb8813ed9 (patch) | |
tree | 4941c52dc408b98907148775edf54d3833a036c0 /script/core/noder.lua | |
parent | fccef2c63a2bbdbf11373e6ee5b2be836476f314 (diff) | |
download | lua-language-server-c7db60b4629f0174da0679d47cbb2f7cb8813ed9.zip |
improve
Diffstat (limited to 'script/core/noder.lua')
-rw-r--r-- | script/core/noder.lua | 4 |
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 |