Avatar
omochimetaru 9/25/2020 2:18 PM
// Accesses on other actors can only reference immutable data or // call asychronous methods _ = otherActor.immutable // okay _ = otherActor.synchronous() // expected-error{{actor-isolated instance method 'synchronous()' can only be referenced on 'self'}} _ = await otherActor.asynchronous() _ = otherActor.text[0] // expected-error{{actor-isolated property 'text' can only be referenced on 'self'}}
2:18 PM
このへんがポイントなのかな