@anon9791410 it can be simpler. Below is what @stackotter suggested:
// File 1
// Don't define init() explicitly. Just use the default member-wise init().
// File 2
extension Foo {
init() {
self.init(x: 1)
}
}
It's simpler because it takes advantage of the small feature mentioned here.