swift
d1ae73f4 - Handle flow-sensitive `#isolation` in distributed actor initializers.

Commit
1 year ago
Handle flow-sensitive `#isolation` in distributed actor initializers. 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.
Author
Parents
Loading