Skip to content

[5.0] Fix wrong missing-return error message for an initializer returning an implicitly unwrapped optional #14340

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
Feb 2, 2018

Conversation

eeckstein
Copy link
Contributor

The problem was that the unreachable instruction after the IUO unwrapping error call was interpreted as missing-return-unreachable.

rdar://problem/36611041

…n implicitly unwrapped optional

The problem was that the unreachable instruction after the IUO unwrapping error call was interpreted as missing-return-unreachable.

rdar://problem/36611041
@eeckstein
Copy link
Contributor Author

@swift-ci test and merge

@eeckstein
Copy link
Contributor Author

@swift-ci test linux

@eeckstein eeckstein merged commit 91ceb6e into swiftlang:swift-5.0-branch Feb 2, 2018
@swift-ci
Copy link
Contributor

swift-ci commented Feb 2, 2018

Build failed
Swift Test Linux Platform
Git Sha - b7173d3

@eeckstein eeckstein deleted the fix-return-5.0 branch April 17, 2021 15:01
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