luau icon indicating copy to clipboard operation
luau copied to clipboard

Inconsistency in documentationSymbol for tuple return

Open JohnnyMorganz opened this issue 2 years ago • 0 comments

In the published API docs used: https://raw.githubusercontent.com/MaximumADHD/Roblox-Client-Tracker/roblox/api-docs/en-us.json for the overloaded debug.info, the return type is recorded as -> Tuple

However, when constructing this documentationSymbol using the function in AstQuery, it does not construct it with a return type -> Tuple, but instead the generic -> a... (note that the a name is not fixed, it can sometimes be b... or c...)

https://github.com/Roblox/luau/blob/76bea81a7b798b3324f97a72a2a8faac29089eec/Analysis/src/AstQuery.cpp#L474-L480

One or the other should be standardised

JohnnyMorganz avatar Jun 30 '23 13:06 JohnnyMorganz