From 68db6ffa1943bfda316f3e955896f482f1ef109d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Sat, 16 Nov 2019 00:11:34 +0800 Subject: =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E4=BA=9B=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server-beta/src/core/diagnostics/redundant-parameter.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server-beta/src/core/diagnostics/redundant-parameter.lua') 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 -- cgit v1.2.3