summaryrefslogtreecommitdiff
path: root/script/parser/luadoc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/parser/luadoc.lua')
-rw-r--r--script/parser/luadoc.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua
index 13816943..f30d47b4 100644
--- a/script/parser/luadoc.lua
+++ b/script/parser/luadoc.lua
@@ -998,7 +998,8 @@ local function bindGeneric(binded)
generics[name] = {}
end
elseif doc.type == 'doc.param'
- or doc.type == 'doc.return' then
+ or doc.type == 'doc.return'
+ or doc.type == 'doc.type' then
guide.eachSourceType(doc, 'doc.type.name', function (src)
local name = src[1]
if generics[name] then