[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:
Konrad `ktoso` Malawski
2021-12-13 11:29:25 +09:00
committed by GitHub
parent 9801a0509e
commit cee89ec541
78 changed files with 2908 additions and 1454 deletions

View File

@@ -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()
}
}
}