summaryrefslogtreecommitdiff
path: root/script/core/signature.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/signature.lua')
-rw-r--r--script/core/signature.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/signature.lua b/script/core/signature.lua
index c411d787..de38cb80 100644
--- a/script/core/signature.lua
+++ b/script/core/signature.lua
@@ -137,7 +137,7 @@ local function makeSignatures(text, call, pos)
node = node:getData 'originNode' or node
local mark = {}
for src in node:eachObject() do
- if src.type == 'function'
+ if (src.type == 'function' and not vm.isVarargFunctionWithOverloads(src))
or src.type == 'doc.type.function' then
if not mark[src] then
mark[src] = true