Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use overloaded documentation symbol for class methods/table props #724

Merged
merged 5 commits into from
Oct 25, 2022

Conversation

JohnnyMorganz
Copy link
Contributor

Right now getDocumentationSymbol on an overloaded class method or table prop just gives the prop name, not prepended with /overload/ + toString(overload).

This causes the incorrect symbol to be used for table.insert, BrickColor.new, Color3.new etc. (present in https://raw.githubusercontent.com/MaximumADHD/Roblox-Client-Tracker/roblox/api-docs/en-us.json)

@vegorov-rbx vegorov-rbx merged commit ad7d006 into luau-lang:master Oct 25, 2022
@JohnnyMorganz JohnnyMorganz deleted the overload-doc-symbol branch October 26, 2022 08:43
vegorov-rbx added a commit that referenced this pull request Oct 28, 2022
* #719
* Improved `Failed to unify type packs` error message to be reported as
`Type pack 'X' could not be converted into 'Y'`
* #722
* 1% reduction in executed instruction count by removing a check in fast
call dispatch
* Additional fixes to reported error location of OOM errors in VM
* Improve `math.sqrt`, `math.floor` and `math.ceil` performance on
additional compilers and platforms (1-2% geomean improvement including
8-9% on math-cordic)
* All thrown exceptions by Luau analysis are derived from
`Luau::InternalCompilerError`
* When a call site has fewer arguments than required, error now reports
the location of the function name instead of the argument to the
function
* #724
* Fixed #725

Co-authored-by: Arseny Kapoulkine <[email protected]>
Co-authored-by: Andy Friesen <[email protected]>
RomanKhafizianov pushed a commit to RomanKhafizianov/luau that referenced this pull request Nov 27, 2023
* luau-lang/luau#719
* Improved `Failed to unify type packs` error message to be reported as
`Type pack 'X' could not be converted into 'Y'`
* luau-lang/luau#722
* 1% reduction in executed instruction count by removing a check in fast
call dispatch
* Additional fixes to reported error location of OOM errors in VM
* Improve `math.sqrt`, `math.floor` and `math.ceil` performance on
additional compilers and platforms (1-2% geomean improvement including
8-9% on math-cordic)
* All thrown exceptions by Luau analysis are derived from
`Luau::InternalCompilerError`
* When a call site has fewer arguments than required, error now reports
the location of the function name instead of the argument to the
function
* luau-lang/luau#724
* Fixed luau-lang/luau#725

Co-authored-by: Arseny Kapoulkine <[email protected]>
Co-authored-by: Andy Friesen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants