Skip to content

Commit fca4366

Browse files
committed
#1207 supports ---@return string ...
1 parent 2b499cb commit fca4366

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: script/parser/luadoc.lua

+1
Original file line numberDiff line numberDiff line change
@@ -894,6 +894,7 @@ local docSwitch = util.switch()
894894
docType.optional = true
895895
end
896896
docType.name = parseName('doc.return.name', docType)
897+
or parseDots('doc.return.name', docType)
897898
result.returns[#result.returns+1] = docType
898899
if not checkToken('symbol', ',', 1) then
899900
break

0 commit comments

Comments
 (0)