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

Fix reverse deps > 1 node away not correctly marked as dirty #719

Merged

Conversation

JohnnyMorganz
Copy link
Contributor

Frontend.markDirty() does not correctly mark reverse dependencies that are not immediate as dirty.
This is because it would keep adding the reverse deps of name into the queue to mark as dirty, instead of the reverse deps of next

@zeux zeux requested a review from andyfriesen October 20, 2022 01:28
@andyfriesen
Copy link
Collaborator

Thanks for the bugfix!

This certainly needs a fastflag but it looks great otherwise.

Copy link
Collaborator

@andyfriesen andyfriesen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@andyfriesen andyfriesen merged commit c4c1205 into luau-lang:master Oct 20, 2022
@JohnnyMorganz JohnnyMorganz deleted the mark-transitive-deps-dirty branch October 20, 2022 16:14
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