diff options
Diffstat (limited to 'server/src/core')
-rw-r--r-- | server/src/core/diagnostics.lua | 3 | ||||
-rw-r--r-- | server/src/core/hover/function.lua | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/server/src/core/diagnostics.lua b/server/src/core/diagnostics.lua index f052d7d2..571e083b 100644 --- a/server/src/core/diagnostics.lua +++ b/server/src/core/diagnostics.lua @@ -214,9 +214,6 @@ function mt:searchRedundantParameters(callback) return end local max = #func.args - if func:getObject() then - max = max + 1 - end local passed = #args for i = max + 1, passed do local extra = args[i] diff --git a/server/src/core/hover/function.lua b/server/src/core/hover/function.lua index f8f7655e..9bb532ae 100644 --- a/server/src/core/hover/function.lua +++ b/server/src/core/hover/function.lua @@ -4,9 +4,6 @@ local function buildValueArgs(func, object, select) end local names = {} local values = {} - if func:getObject() then - names[#names+1] = 'self' - end if func.args then for _, arg in ipairs(func.args) do names[#names+1] = arg:getName() |