Skip to content

[5.1 04/24][Diagnostics] Improve missing conformance diagnostics for opaque return #24393

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

xedin
Copy link
Contributor

@xedin xedin commented Apr 30, 2019

Description
New diagnostic framework can already identify contextual failures
related to opaque return types, RequirementFailure just needs
to get adjusted to identify correct affected declaration and provide
tailored diagnostic.

Reviewed By: @jckarter

Resolves: rdar://problem/49582531

xedin added 2 commits April 30, 2019 10:37
New diagnostic framework can already identify contextual failures
related to opaque return types, `RequirementFailure` just needs
to get adjusted to identify correct affected declaration and provide
tailored diagnostic.

Resolves: rdar://problem/49582531
(cherry picked from commit 1f1e8d9)
… expressions are correct

(cherry picked from commit caad4a8)
@xedin xedin requested a review from a team as a code owner April 30, 2019 17:43
@xedin
Copy link
Contributor Author

xedin commented Apr 30, 2019

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented Apr 30, 2019

@swift-ci please test source compatibility

@xedin xedin requested a review from AnnaZaks April 30, 2019 17:47
@xedin
Copy link
Contributor Author

xedin commented Apr 30, 2019

Looks like not all of the projects have been updated to support Swift 5 in source compatibility suite, failures are unrelated to my changes.

@xedin xedin merged commit fbfc0b4 into swiftlang:swift-5.1-branch-04-24-2019 Apr 30, 2019
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