actor Person {
init() {
testMethod() // warning! Actor-isolated instance method 'testMethod()' can not be referenced from a non-isolated context; this is an error in Swift 6
}
func testMethod() {}
}
Actor properties and instance methods are known to be isolated.
Is Actor's initializer non-isolated??
- using Xcode 14.2