diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-03-07 20:58:59 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-03-07 20:58:59 +0800 |
commit | 46974b3b740c7f58ecd8094392ab7f4c5c254f44 (patch) | |
tree | 97f947d5b63b9fd257db66cc5a868bccaa3909ea /script/parser | |
parent | a31cb772fa4f1da3fd78e4d9f5a01729c22883f7 (diff) | |
download | lua-language-server-46974b3b740c7f58ecd8094392ab7f4c5c254f44.zip |
update
Diffstat (limited to 'script/parser')
-rw-r--r-- | script/parser/guide.lua | 2 | ||||
-rw-r--r-- | script/parser/luadoc.lua | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua index 1d634cbf..1bda2d32 100644 --- a/script/parser/guide.lua +++ b/script/parser/guide.lua @@ -25,7 +25,7 @@ local type = type ---@field field parser.object ---@field method parser.object ---@field index parser.object ----@field extends parser.object[] +---@field extends parser.object[]|parser.object ---@field types parser.object[] ---@field fields parser.object[] ---@field tkey parser.object diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua index fbecbb3e..5b9bdfad 100644 --- a/script/parser/luadoc.lua +++ b/script/parser/luadoc.lua @@ -768,6 +768,7 @@ local function parseAlias() return nil end result.start = getStart() + result.signs = parseSigns(result, 'name') result.extends = parseType(result) if not result.extends then pushWarning { |