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: a2cdd3d553083a09271ffbbfc2c017a6
is duplicated by:
Issue Description:
protocol P { func test() } protocol P2: P { } extension Int : P { func test() { } } extension Array : P2 where Element : P { func test() { } }
The compiler said “Type Array<Element> does not conform to protocol P.”
But you can see that `Array` conforms to `P2` which is inherited by `P`
It will be fine if I change `extension Array : P2` to `extension Array: P`.
The text was updated successfully, but these errors were encountered:
@huonw, this is by design right? Or at least a known issue?
Sorry, something went wrong.
This will be by design once #15268 lands, see apple/swift-evolution#809
No branches or pull requests
Additional Detail from JIRA
md5: a2cdd3d553083a09271ffbbfc2c017a6
is duplicated by:
Issue Description:
The compiler said “Type Array<Element> does not conform to protocol P.”
But you can see that `Array` conforms to `P2` which is inherited by `P`
It will be fine if I change `extension Array : P2` to `extension Array: P`.
The text was updated successfully, but these errors were encountered: