summaryrefslogtreecommitdiff
path: root/server-beta/src/core/diagnostics/redundant-parameter.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-11-16 00:11:34 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-11-16 00:11:34 +0800
commit68db6ffa1943bfda316f3e955896f482f1ef109d (patch)
treec9c909fc0fc48327840937fff56a66c4bd144b20 /server-beta/src/core/diagnostics/redundant-parameter.lua
parent58bd9dd99cf6f927a318085255e4e18b533eab0d (diff)
downloadlua-language-server-68db6ffa1943bfda316f3e955896f482f1ef109d.zip
修改一些细节
Diffstat (limited to 'server-beta/src/core/diagnostics/redundant-parameter.lua')
-rw-r--r--server-beta/src/core/diagnostics/redundant-parameter.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server-beta/src/core/diagnostics/redundant-parameter.lua b/server-beta/src/core/diagnostics/redundant-parameter.lua
index 43bb93ed..a60c8cdb 100644
--- a/server-beta/src/core/diagnostics/redundant-parameter.lua
+++ b/server-beta/src/core/diagnostics/redundant-parameter.lua
@@ -66,7 +66,7 @@ return function (uri, callback)
local func = source.node
local funcArgs
- searcher.eachRef(func, function (info)
+ searcher.eachDef(func, function (info)
if info.mode == 'value' then
local src = info.source
if src.type == 'function' then