diff options
Diffstat (limited to 'script/core/diagnostics/incomplete-signature-doc.lua')
-rw-r--r-- | script/core/diagnostics/incomplete-signature-doc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/diagnostics/incomplete-signature-doc.lua b/script/core/diagnostics/incomplete-signature-doc.lua index 91f2db74..c030e7ad 100644 --- a/script/core/diagnostics/incomplete-signature-doc.lua +++ b/script/core/diagnostics/incomplete-signature-doc.lua @@ -59,7 +59,7 @@ return function (uri, callback) local functionName = source.parent[1] - if #source.args > 0 then + if source.args and #source.args > 0 then for _, arg in ipairs(source.args) do local argName = arg[1] if argName ~= 'self' then |