Skip to content

Improve Resolver Determinism #3862

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

Merged
merged 2 commits into from
Nov 12, 2021
Merged

Conversation

SDGGiesbrecht
Copy link
Contributor

Spun out of #3838. This makes sure the order of resolution diagnostics is deterministic.

Unlike the first iteration in #3838, this does it properly and preserves the user’s order (which turned out to be much easier than I expected). It also adds a test that would catch any regression, regardless of the resolution mode.

@tomerd
Copy link
Contributor

tomerd commented Nov 11, 2021

@swift-ci please smoke test

@abertelrud
Copy link
Contributor

Thank you @SDGGiesbrecht, this is great! Might seem like a small thing but I think it can help understandability in a subtle way.

@abertelrud
Copy link
Contributor

@neonichu and @tomerd all clear to merge?

@tomerd tomerd merged commit 72cfc88 into swiftlang:main Nov 12, 2021
@SDGGiesbrecht SDGGiesbrecht deleted the determinism branch November 12, 2021 21:21
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.

4 participants