diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-21 18:22:41 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-21 18:22:41 +0800 |
commit | 8ba44c3e21ac761b88226fec0cc8a5347a4a5804 (patch) | |
tree | dcc3ef284b0eb7f08f91899eb6d3eb48cd55c997 /script/parser/luadoc.lua | |
parent | cc6142db768430288fa71e144ba479a7a0e6e420 (diff) | |
download | lua-language-server-8ba44c3e21ac761b88226fec0cc8a5347a4a5804.zip |
#1080 using `---@overload` as class constructor
Diffstat (limited to 'script/parser/luadoc.lua')
-rw-r--r-- | script/parser/luadoc.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua index 7c669d1f..4cb8b520 100644 --- a/script/parser/luadoc.lua +++ b/script/parser/luadoc.lua @@ -1320,7 +1320,8 @@ local function isNextLine(binded, doc) if lastDoc.type == 'doc.class' or lastDoc.type == 'doc.field' then if doc.type ~= 'doc.field' - and doc.type ~= 'doc.comment' then + and doc.type ~= 'doc.comment' + and doc.type ~= 'doc.overload' then return false end end |