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: 4d6afae532aeb854969ea8b9cc15c2b1
duplicates:
is duplicated by:
relates to:
Issue Description:
If there is a protocol with a protocol extension then if the protocol extension implementation is overridden in subclass, it will be not used.
You can check following code that is demonstrating the problem.
protocol Valuable { var uppercaseValue: String { get } var value: String { get } } extension Valuable { var uppercaseValue: String { return value.uppercaseString } var value: String { return "default" } } class A: Valuable {} class B: A { var value: String { return "b" } } print(B().value) // This is correctly b. print(B().uppercaseValue) // This is DEFAULT
The text was updated successfully, but these errors were encountered:
Comment by Dale Buckley (JIRA)
This is still not fixed as of Swift 2.2.
Sorry, something went wrong.
I am reopening this issue as it has yet to be fixed in Swift 2.2 and I can't find any trace of the fix.
It's not fixed; it's just already tracked by SR-103, which remains open.
No branches or pull requests
Additional Detail from JIRA
md5: 4d6afae532aeb854969ea8b9cc15c2b1
duplicates:
is duplicated by:
relates to:
Issue Description:
If there is a protocol with a protocol extension then if the protocol extension implementation is overridden in subclass, it will be not used.
You can check following code that is demonstrating the problem.
The text was updated successfully, but these errors were encountered: