From 46974b3b740c7f58ecd8094392ab7f4c5c254f44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 7 Mar 2022 20:58:59 +0800 Subject: update --- script/parser/guide.lua | 2 +- script/parser/luadoc.lua | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'script/parser') 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 { -- cgit v1.2.3