diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-24 05:11:32 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-24 05:11:32 +0800 |
commit | b204411a88f4c36be9e9ce2710f03f2a0295e3a6 (patch) | |
tree | dc551047985165f2e48680c95eab3626ad7712b5 /script/core/diagnostics/missing-parameter.lua | |
parent | afbe46c3090e55ff08302b5306ce6dae99f09c54 (diff) | |
download | lua-language-server-b204411a88f4c36be9e9ce2710f03f2a0295e3a6.zip |
fix #1087
Diffstat (limited to 'script/core/diagnostics/missing-parameter.lua')
-rw-r--r-- | script/core/diagnostics/missing-parameter.lua | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/script/core/diagnostics/missing-parameter.lua b/script/core/diagnostics/missing-parameter.lua index e2cf4982..88e7b87e 100644 --- a/script/core/diagnostics/missing-parameter.lua +++ b/script/core/diagnostics/missing-parameter.lua @@ -51,9 +51,6 @@ return function (uri, callback) guide.eachSourceType(state.ast, 'call', function (source) local callArgs = countCallArgs(source) - if callArgs == 0 then - return - end local func = source.node local funcArgs = getFuncArgs(func) |