diff options
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 |