Skip to content

Sema: Fix crash with UnresolvedType in coerceExistential() [4.2] #17871

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

Conversation

slavapestov
Copy link
Contributor

  • Description: Long-standing crash-on-invalid in diagnostics.

  • Origination: Probably there for a long time.

  • Scope of the issue: Reported several times.

  • Risk: Very low, this just adds some additional logic to a diagnostic path that only runs when we would have already crashed.

  • Tested: New test case added.

  • Reviewed by: @xedin

  • Radar: Fixes rdar://problem/34357545.

@slavapestov
Copy link
Contributor Author

@swift-ci Please test

@slavapestov
Copy link
Contributor Author

@xedin Do you mind taking a look?

@slavapestov slavapestov requested a review from xedin July 11, 2018 00:25
Copy link
Contributor

@xedin xedin left a comment

Choose a reason for hiding this comment

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

LGTM!

@slavapestov slavapestov merged commit ac67317 into swiftlang:swift-4.2-branch Jul 11, 2018
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