diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-02-26 14:01:33 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-02-26 14:01:33 +0800 |
commit | ae9734ee608897b48c2f1ef730d30cc168377e31 (patch) | |
tree | 5d0bcb74a836da7f352ddc7ad3d78b78bc1acf89 /server/src/core | |
parent | 09ab27d63645a571629def4547fbe1e0fe218713 (diff) | |
parent | da0be511dd91ff6bbfd553b8c1787926f378b76e (diff) | |
download | lua-language-server-ae9734ee608897b48c2f1ef730d30cc168377e31.zip |
合并master
Diffstat (limited to 'server/src/core')
-rw-r--r-- | server/src/core/diagnostics.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/server/src/core/diagnostics.lua b/server/src/core/diagnostics.lua index 40e089b6..068ad37b 100644 --- a/server/src/core/diagnostics.lua +++ b/server/src/core/diagnostics.lua @@ -205,14 +205,11 @@ end function mt:searchRedundantParameters(callback) local results = self.results for _, call in ipairs(results.calls) do - if not call.func.built then - goto NEXT_CALL - end if call.func.hasDots then goto NEXT_CALL end if not call.func.args then - return + goto NEXT_CALL end local max = #call.func.args local passed = #call.args |