So I did consider using the 'override' keyword, but it then raised the question as to what should happen when 'super' is called.
I agree that by adding 'override' it makes it more obvious that you are overriding an existing implementation of the method, regardless of if it's defined in the class you are inheriting from or from the protocol extension. But if you add 'override' you are explicitly saying you can call the super implementation. So the question is what should happen here? Realistically you could expect calling 'super' would call the protocol extension implementation of the method, but I'm trying to think of the problems that could occur if its implemented in that way. Any thoughts on this? Dale
_______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
