Skip to content

[Diagnostics] Improve missing conformance diagnostics for opaque return #24383

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
Apr 30, 2019

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Apr 30, 2019

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

xedin added 2 commits April 29, 2019 16:17
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
@xedin xedin requested a review from jckarter April 30, 2019 01:43
Copy link
Contributor

@jckarter jckarter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@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

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - caad4a8

@xedin
Copy link
Contributor Author

xedin commented Apr 30, 2019

@swift-ci please test macOS platform

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - caad4a8

@xedin
Copy link
Contributor Author

xedin commented Apr 30, 2019

@shahmishal @akyrtzi Is this a known problem in SwiftSyntax?

01:47:21 Failing Tests (1):
01:47:21     SwiftSyntax :: print_verify_tree.swift

@theblixguy
Copy link
Collaborator

Should be fixed soon: #24385

@xedin
Copy link
Contributor Author

xedin commented Apr 30, 2019

@swift-ci please test macOS platform

@xedin xedin merged commit 913a1f5 into swiftlang:master 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.

4 participants