Skip to content

[5.1][Diagnostics] Don't crash trying to diagnose missing opaque result type #26904

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
Aug 28, 2019

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Aug 28, 2019

  • Explanation:

Avoid a crash when type associated with opaque result
hasn't been explicitly specified and couldn't be inferred by type checker.

  • Issue: rdar://problem/52774804

  • Scope: Constraint solver in diagnostic mode.

  • Risk: Very Low.

  • Testing: Added compiler regression tests.

  • Reviewed by: @xedin

Resolves: rdar://problem/52774804

@xedin xedin requested a review from a team as a code owner August 28, 2019 17:28
@xedin
Copy link
Contributor Author

xedin commented Aug 28, 2019

@swift-ci please test

@AnnaZaks AnnaZaks merged commit 0304f41 into swiftlang:swift-5.1-branch Aug 28, 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.

3 participants