One thing I have wondered about related to this issue is why Swift does not allow writing:
class Foo {
mutating func bar() {
self = Foo()
}
}
One thing I have wondered about related to this issue is why Swift does not allow writing:
class Foo {
mutating func bar() {
self = Foo()
}
}