Skip to content

[NFC] Break TypeResolver Down #33303

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

Conversation

CodaFi
Copy link
Contributor

@CodaFi CodaFi commented Aug 5, 2020

Strip TypeResolver of some unnecessary state by deriving these values from the TypeResolution object it owns.

There is no behavior change here.

CodaFi added 2 commits August 4, 2020 17:16
All of its component parts are now derived from the TypeResolution object. Just strip it of this unnecessary state and add projections instead.
@CodaFi
Copy link
Contributor Author

CodaFi commented Aug 5, 2020

@swift-ci smoke test

Now that TypeResolvers and TypeResolution objects are cheap and easy to create, just use them instead of emplacing resolutions into the current resolver.
@CodaFi CodaFi force-pushed the ownership-is-ninety-percent-of-the-law branch from 3d50a4d to ccdc91b Compare August 5, 2020 00:51
@CodaFi
Copy link
Contributor Author

CodaFi commented Aug 5, 2020

@swift-ci smoke test

@CodaFi
Copy link
Contributor Author

CodaFi commented Aug 5, 2020

@swift-ci smoke test windows

@CodaFi
Copy link
Contributor Author

CodaFi commented Aug 5, 2020

@CodaFi CodaFi merged commit 9d8e41a into swiftlang:master Aug 5, 2020
@CodaFi CodaFi deleted the ownership-is-ninety-percent-of-the-law branch August 5, 2020 03:46
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.

1 participant