diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-03-31 10:42:27 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-03-31 10:42:27 +0800 |
commit | 51a43979dc277e1a4418725cd001b5520d84588d (patch) | |
tree | eefbf7dc228820ff9aea59134022a0bbe5ecf7e5 /script/parser/luadoc.lua | |
parent | d36ceb32aeb95261be630157cbf7389c0d3c8085 (diff) | |
download | lua-language-server-51a43979dc277e1a4418725cd001b5520d84588d.zip |
#450 add dummy param into param list
Diffstat (limited to 'script/parser/luadoc.lua')
-rw-r--r-- | script/parser/luadoc.lua | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua index 7e133aa2..74e53718 100644 --- a/script/parser/luadoc.lua +++ b/script/parser/luadoc.lua @@ -1148,10 +1148,6 @@ local function bindParamAndReturnIndex(binded) return end local paramIndex = 0 - local parent = func.parent - if parent.type == 'setmethod' then - paramIndex = paramIndex + 1 - end local paramMap = {} for _, param in ipairs(func.args) do paramIndex = paramIndex + 1 |