Skip to content

[5.1] [MiscDiagnostics] Update diagnostics for IUO to Any coercion #24145

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 1 commit into from
Apr 20, 2019
Merged

[5.1] [MiscDiagnostics] Update diagnostics for IUO to Any coercion #24145

merged 1 commit into from
Apr 20, 2019

Conversation

theblixguy
Copy link
Collaborator

Cherry-pick of #23617. Updates the diagnostic for IUO to Any implicit coercion.

Resolves SR-10199.

Add a tailored diagnostic for the case where implicitly unwrapped optional is coerced to `Any`
@theblixguy
Copy link
Collaborator Author

cc @xedin

@xedin
Copy link
Contributor

xedin commented Apr 18, 2019

@swift-ci please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - e2e2d50

@theblixguy
Copy link
Collaborator Author

theblixguy commented Apr 19, 2019

Unrelated failure error: TestXMLDocument.test_validation_success : failed. I guess something’s wrong with Linux builds today as well 😅

@xedin
Copy link
Contributor

xedin commented Apr 19, 2019

@swift-ci please test Linux platform

@xedin xedin merged commit 29b0b24 into swiftlang:swift-5.1-branch Apr 20, 2019
@xedin
Copy link
Contributor

xedin commented Apr 20, 2019

Sorry I almost forgot about this PR :)

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