Skip to content

[ConstraintSystem] Extend function type conversion mismatch coverage #29549

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
Jan 30, 2020

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Jan 30, 2020

Originally type mismatches associated with conversions between
function types were only covered for coercions and assignments
but fix coverage grew since then and now it makes sense
to remove special case and let repairFailures take care of it.

xedin added 2 commits January 30, 2020 09:45
Originally type mismatches associated with conversions between
function types were only covered for coercions and assignments
but fix coverage grew since then and now it makes sense
to remove special case and let `repairFailures` take care of it.
…ociated with function result type

If there are any requirement failures associated with result types
which are part of a function type conversion, let's record general
conversion mismatch in order for it to capture and display complete
function types.
@xedin xedin requested a review from hborla January 30, 2020 17:56
@xedin
Copy link
Contributor Author

xedin commented Jan 30, 2020

@swift-ci please smoke test

@xedin xedin merged commit a572c4b into swiftlang:master Jan 30, 2020
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