summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-09-24 18:57:03 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-09-24 18:57:03 +0800
commit437bb61d0daf663a3eee894946f47bc550c39e52 (patch)
treeba5473818364677b117cfdbe3d5efcff7a1eb533 /script
parent1a0f6e3aa420afff9028c4db6261f8faa6fa2ba6 (diff)
downloadlua-language-server-437bb61d0daf663a3eee894946f47bc550c39e52.zip
fix #647
Diffstat (limited to 'script')
-rw-r--r--script/core/noder.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/script/core/noder.lua b/script/core/noder.lua
index f364f458..d1388cb3 100644
--- a/script/core/noder.lua
+++ b/script/core/noder.lua
@@ -883,8 +883,8 @@ compileNodeMap = util.switch()
: call(function (noders, id, source)
if source.bindSources then
for _, src in ipairs(source.bindSources) do
- pushForward(noders, getID(src), id, INFO_REJECT_SET)
- pushForward(noders, id, getID(src))
+ pushForward(noders, getID(src), id)
+ pushBackward(noders, id, getID(src))
end
end
for _, enumUnit in ipairs(source.enums) do
@@ -898,7 +898,7 @@ compileNodeMap = util.switch()
pushForward(noders, id, unitID)
if source.bindSources then
for _, src in ipairs(source.bindSources) do
- pushBackward(noders, unitID, getID(src), INFO_REJECT_SET)
+ pushBackward(noders, unitID, getID(src))
end
end
end
@@ -972,7 +972,7 @@ compileNodeMap = util.switch()
if source.bindSources then
for _, src in ipairs(source.bindSources) do
pushForward(noders, getID(src), id)
- pushForward(noders, id, getID(src), INFO_REJECT_SET)
+ pushForward(noders, id, getID(src))
end
end
for _, field in ipairs(source.fields) do