File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 1
- // RUN: %target-swift-frontend -emit-irgen %s -swift-version 5 -enable-experimental-distributed | %IRGenFileCheck %s
1
+
2
+ // RUN: %empty-directory(%t)
3
+ // RUN: %target-swift-frontend-emit-module -emit-module-path %t/FakeDistributedActorSystems.swiftmodule -module-name FakeDistributedActorSystems -disable-availability-checking %S/Inputs/FakeDistributedActorSystems.swift
4
+ // RUN: %target-swift-frontend -emit-irgen -enable-experimental-distributed -disable-availability-checking -I %t 2>&1 %s | %IRGenFileCheck %s
2
5
3
6
// UNSUPPORTED: back_deploy_concurrency
4
7
// REQUIRES: concurrency
5
8
// REQUIRES: distributed
6
9
7
10
import _Distributed
11
+ import FakeDistributedActorSystems
12
+
13
+ @available ( SwiftStdlib 5 . 5 , * )
14
+ typealias DefaultDistributedActorSystem = FakeActorSystem
8
15
9
16
enum SimpleE : Codable {
10
17
case a
@@ -36,8 +43,6 @@ struct LargeStruct : Codable {
36
43
37
44
@available ( SwiftStdlib 5 . 6 , * )
38
45
public distributed actor MyActor {
39
- public typealias Transport = AnyActorTransport
40
-
41
46
distributed func simple1( _: Int ) {
42
47
}
43
48
@@ -72,8 +77,6 @@ public distributed actor MyActor {
72
77
73
78
@available ( SwiftStdlib 5 . 6 , * )
74
79
public distributed actor MyOtherActor {
75
- public typealias Transport = AnyActorTransport
76
-
77
80
distributed func empty( ) {
78
81
}
79
82
}
You can’t perform that action at this time.
0 commit comments