summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rw-r--r--script/core/noder.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/script/core/noder.lua b/script/core/noder.lua
index 89379d56..58144a27 100644
--- a/script/core/noder.lua
+++ b/script/core/noder.lua
@@ -480,7 +480,12 @@ function m.compileNode(noders, source)
end
end
if source.type == 'doc.param' then
- pushForward(noders, getID(source), getID(source.extends))
+ pushForward(noders, id, getID(source.extends))
+ for _, src in ipairs(source.bindSources) do
+ if src.type == 'local' and src.parent.type == 'in' then
+ pushForward(noders, getID(src), id)
+ end
+ end
end
if source.type == 'doc.vararg' then
pushForward(noders, getID(source), getID(source.vararg))