Why the same error for actors, then?
actor C {
init(_: Void) { }
init(_: Any) { // Designated initializer for 'C' cannot delegate (with 'self.init'); did you mean this to be a convenience initializer?
self.init(())
}
}
Why the same error for actors, then?
actor C {
init(_: Void) { }
init(_: Any) { // Designated initializer for 'C' cannot delegate (with 'self.init'); did you mean this to be a convenience initializer?
self.init(())
}
}