summaryrefslogtreecommitdiff
path: root/script/parser/luadoc.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-11-08 17:00:50 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-11-08 17:00:50 +0800
commitdecf02ad1f708f9e2eb7d50d9765b22ae21f0425 (patch)
tree26686198bb07325b84cc3be5e17a039cf6f77b39 /script/parser/luadoc.lua
parent4503effc7b22b20e17880a97f49d9dfd022e0ad9 (diff)
downloadlua-language-server-decf02ad1f708f9e2eb7d50d9765b22ae21f0425.zip
fix description disapeared for overloaded function
Diffstat (limited to 'script/parser/luadoc.lua')
-rw-r--r--script/parser/luadoc.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua
index 6e0da3cc..f20d32db 100644
--- a/script/parser/luadoc.lua
+++ b/script/parser/luadoc.lua
@@ -1895,8 +1895,6 @@ local function bindCommentsAndFields(binded)
class.calls[#class.calls+1] = doc
doc.class = class
end
- bindCommentsToDoc(doc, comments)
- comments = {}
elseif doc.type == 'doc.alias'
or doc.type == 'doc.enum' then
bindCommentsToDoc(doc, comments)