I saw a FIXME in the codebase around allowing an override of a Swift class declaration to be placed in an extension of a class as long as the extension is in the same module as the class:
class X {
func foo() { ... }
}
class Y: X {}
extension Y {
override func foo() { ... } // Okay if `Y` and `extension Y` are in the same module
}
I also found this proposal by @jrose but it seems to be about having the extension in a different module than the class.
It looks like "override in same-module class extension" feature was planned but just not implemented, so I am wondering if the change would need to go through evolution today or can it be implemented without needing a proposal?