summaryrefslogtreecommitdiff
path: root/server/src/core/diagnostics.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-02-14 15:42:08 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-02-14 15:42:08 +0800
commit635fa33472f88baada3b1ecf86fdc1826b1fc52c (patch)
treeefd15de38b4d49b50268b578be3ad5a962fe4fad /server/src/core/diagnostics.lua
parent34238fe5d53add4a325c60415edf0ba70407a498 (diff)
downloadlua-language-server-635fa33472f88baada3b1ecf86fdc1826b1fc52c.zip
修正一个bug
Diffstat (limited to 'server/src/core/diagnostics.lua')
-rw-r--r--server/src/core/diagnostics.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/core/diagnostics.lua b/server/src/core/diagnostics.lua
index f6bf3aa4..2b0cb0d2 100644
--- a/server/src/core/diagnostics.lua
+++ b/server/src/core/diagnostics.lua
@@ -199,7 +199,7 @@ function mt:searchRedundantParameters(callback)
goto NEXT_CALL
end
if not call.func.args then
- return
+ goto NEXT_CALL
end
local max = #call.func.args
local passed = #call.args