summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-11-19 16:12:51 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-11-19 16:12:51 +0800
commit5e3f203d76473e2ade05cfd344f2dc6608d65e1a (patch)
treec7fc3f6cfab0aaeb076f39817a3369aba41bd807 /script
parentbb9920e0925aa88ca512e789a72be010404011a0 (diff)
downloadlua-language-server-5e3f203d76473e2ade05cfd344f2dc6608d65e1a.zip
fix #798
Diffstat (limited to 'script')
-rw-r--r--script/core/noder.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/script/core/noder.lua b/script/core/noder.lua
index cdf2c710..3a8b9fe2 100644
--- a/script/core/noder.lua
+++ b/script/core/noder.lua
@@ -1412,8 +1412,7 @@ compileNodeMap = util.switch()
end
for _, rtn in ipairs(source.returns) do
for _, src in ipairs(source.bindSources) do
- if src.type == 'function'
- or guide.isSet(src) then
+ if src.type == 'function' then
local fullID = sformat('%s%s%s'
, getID(src)
, RETURN_INDEX