mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Distributed actors can be treated as actors by accessing the `asLocalActor` property. When lowering `#isolation` in a distributed actor initializer, use a separate builtin `flowSensitiveDistributedSelfIsolation` to capture the conformance to `DistributedActor`, and have Definite Initialization introduce the call to the `asLocalActor` getter when needed.
124 KiB
124 KiB