mirror of
https://github.com/apple/swift.git
synced 2025-12-25 12:15:36 +01:00
* [Distributed] towards DistributedActorSystem; synthesize the id earlier, since Identifiable.id * Fix execute signature to what Pavel is working with * funcs are ok in sil * fixed lifetime of id in inits * fix distributed_actor_deinit * distributed_actor_local * update more tests fixing tests fix TBD test fix Serialization/distributed fix irgen test Fix null pointer crashes * prevent issues with null func ptrs and fix Distributed prorotocol test * fix deinit sil test
13 lines
508 B
Swift
13 lines
508 B
Swift
// RUN: %target-typecheck-verify-swift -enable-experimental-distributed -disable-availability-checking
|
|
// REQUIRES: concurrency
|
|
// REQUIRES: distributed
|
|
|
|
actor SomeActor { }
|
|
|
|
distributed actor MissingImportDistributedActor_0 { }
|
|
// expected-error@-1{{'_Distributed' module not imported, required for 'distributed actor'}}
|
|
|
|
let t: DistributedActorSystem // expected-error{{cannot find type 'DistributedActorSystem' in scope}}
|
|
let a: ActorAddress // expected-error{{cannot find type 'ActorAddress' in scope}}
|
|
|