Assume we have a simple protocol:
protocol Test {
var test: String { get }
}
It is possible to extend it to add functions & properties:
extension Test {
var description: String {
return self.test
}
}
Why is it not possible to also declare protocol conformance for protocols?
extension Test: CustomStringConvertible {
var description: String {
return self.test
}
}
Is this just not implemented (yet?) or is there a technical reason this won't work?