Skip to content

[ConstraintSystem] NFC: Move allowFreeTypeVariableBindings into `So… #19101

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 1 commit into from
Sep 1, 2018

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Sep 1, 2018

…lverState`

Currently allowFreeTypeVariableBindings flag has to be passed all
the way down from top-level solve call to finalize that forms
(partial and complete) solutions. Instead of doing that, let's just
make it a part of the solver state, which is already present
throughout whole solver run.

@xedin xedin requested a review from rudkx September 1, 2018 00:08
@xedin
Copy link
Contributor Author

xedin commented Sep 1, 2018

/cc @rudkx Any objections?

…lverState`

Currently `allowFreeTypeVariableBindings` flag has to be passed all
the way down from top-level `solve` call to `finalize` that forms
(partial and complete) solutions. Instead of doing that, let's just
make it a part of the solver state, which is already present
throughout whole solver run.
@xedin xedin force-pushed the move-allow-free-typevars-into-state branch from a01d9c4 to d560b36 Compare September 1, 2018 03:52
@xedin
Copy link
Contributor Author

xedin commented Sep 1, 2018

@swift-ci please test

@swift-ci
Copy link
Contributor

swift-ci commented Sep 1, 2018

Build failed
Swift Test OS X Platform
Git Sha - a01d9c438b8f67a1a356cc6d0c0648646ff6f782

@swift-ci
Copy link
Contributor

swift-ci commented Sep 1, 2018

Build failed
Swift Test Linux Platform
Git Sha - a01d9c438b8f67a1a356cc6d0c0648646ff6f782

@xedin xedin merged commit fb8adb0 into swiftlang:master Sep 1, 2018
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.

3 participants