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

Backport "Fix problems with cycle checks" to LTS #20833

Merged
merged 2 commits into from
Jun 28, 2024
Merged

Conversation

WojciechMazur
Copy link
Contributor

Backports #19453 to the LTS branch.

PR submitted by the release tooling.
[skip ci]

Several improvements:

 - Follow opaque aliases as if they were aliases. Otherwise we
   risk crashing in phases where the `opaque` is dropped and these
   become regular aliases.
 - Update the `isInteresting` test to follow more types. Previously
   the test was too strict so some cycles were missed.
 - Make -explain-cyclic also explain for cycles detected by this check.

Fixes #19372

[Cherry-picked 756ae34]
@WojciechMazur
Copy link
Contributor Author

No regressions detected in the community build up to lts-19520.

Reference

Base automatically changed from lts-19459 to lts-18702 June 28, 2024 10:15
@WojciechMazur WojciechMazur merged commit 958acc6 into lts-18702 Jun 28, 2024
19 checks passed
@WojciechMazur WojciechMazur deleted the lts-19453 branch June 28, 2024 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants