mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Distributed] DistributedActorSystem renaming and redesign (#40387)
* [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
This commit is contained in:
committed by
GitHub
parent
9801a0509e
commit
cee89ec541
@@ -1,11 +1,13 @@
|
||||
// RUN: %target-typecheck-verify-swift -enable-experimental-distributed -disable-availability-checking
|
||||
// RUN: %empty-directory(%t)
|
||||
// RUN: %target-swift-frontend-emit-module -emit-module-path %t/FakeDistributedActorSystems.swiftmodule -module-name FakeDistributedActorSystems -disable-availability-checking %S/Inputs/FakeDistributedActorSystems.swift
|
||||
// RUN: %target-swift-frontend -typecheck -verify -enable-experimental-distributed -disable-availability-checking -I %t 2>&1 %s
|
||||
// REQUIRES: concurrency
|
||||
// REQUIRES: distributed
|
||||
|
||||
import _Distributed
|
||||
import FakeDistributedActorSystems
|
||||
|
||||
/// Use the existential wrapper as the default actor transport.
|
||||
typealias DefaultActorTransport = AnyActorTransport
|
||||
typealias DefaultDistributedActorSystem = FakeActorSystem
|
||||
|
||||
distributed actor DA {
|
||||
}
|
||||
@@ -36,4 +38,4 @@ extension Second {
|
||||
nonisolated func _impl_two(first: First, second: Second) async throws {
|
||||
fatalError()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user