Skip to content

[Constraint system] Hoist some common code in matchTypes. #11905

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 13, 2017
Merged

[Constraint system] Hoist some common code in matchTypes. #11905

merged 1 commit into from
Sep 13, 2017

Conversation

rudkx
Copy link
Contributor

@rudkx rudkx commented Sep 13, 2017

This may not quite be NFC since the path for Subtype bindings checked
other conditions before this, but I believe this is the right thing to
do in all cases where we have two identical type vars.

This may not quite be NFC since the path for Subtype bindings checked
other conditions before this, but I believe this is the right thing to
do in all cases where we have two identical type vars.
@rudkx
Copy link
Contributor Author

rudkx commented Sep 13, 2017

@swift-ci Please smoke test

@rudkx
Copy link
Contributor Author

rudkx commented Sep 13, 2017

@xedin is looking at removing the special code for subtype which will make things double-plus awesome.

@rudkx rudkx merged commit 4af129e into swiftlang:master Sep 13, 2017
@rudkx rudkx deleted the refactor-match-types branch September 13, 2017 22:55
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