We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
md5: 845727455a98c5f9f5a00b35c6507e69
duplicates:
Issue Description:
https://twitter.com/NachoSoto/status/846465974156984320
— module A: protocol R: Error {} — module B: enum E: Error, R { case a } — module C: let e: Error = E.a let _: R? = e as? R
The cast is improperly flagged as always succeeding.
The text was updated successfully, but these errors were encountered:
@swift-ci create
Sorry, something went wrong.
You beat me to it: https://bugs.swift.org/browse/SR-4377
Oops, I'll dup mine to yours.
Thanks!
jckarter
No branches or pull requests
Additional Detail from JIRA
md5: 845727455a98c5f9f5a00b35c6507e69
duplicates:
Issue Description:
https://twitter.com/NachoSoto/status/846465974156984320
— module A:
protocol R: Error {}
— module B:
enum E: Error, R { case a }
— module C:
let e: Error = E.a
let _: R? = e as? R
The cast is improperly flagged as always succeeding.
The text was updated successfully, but these errors were encountered: