We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a525372 commit dc8d3adCopy full SHA for dc8d3ad
script/parser/luadoc.lua
@@ -944,9 +944,13 @@ local docSwitch = util.switch()
944
nextToken()
945
docType.optional = true
946
end
947
- docType.name = dots
948
- or parseName('doc.return.name', docType)
949
- or parseDots('doc.return.name', docType)
+ if dots then
+ docType.name = dots
+ dots.parent = docType
950
+ else
951
+ docType.name = parseName('doc.return.name', docType)
952
+ or parseDots('doc.return.name', docType)
953
+ end
954
result.returns[#result.returns+1] = docType
955
if not checkToken('symbol', ',', 1) then
956
break
0 commit comments