File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 7
7
8
8
import Distributed
9
9
10
- // NOTE: None of the ad-hoc protocol requirement implementations
11
-
12
10
public protocol Transferable : Sendable { }
13
11
14
12
// NOT final on purpose
13
+ @available ( SwiftStdlib 5 . 7 , * )
15
14
public class TheSpecificResultHandlerWhichIsANonFinalClass : DistributedTargetInvocationResultHandler {
16
15
public typealias SerializationRequirement = Transferable
17
16
@@ -28,6 +27,7 @@ public class TheSpecificResultHandlerWhichIsANonFinalClass: DistributedTargetInv
28
27
}
29
28
30
29
// NOT final on purpose
30
+ @available ( SwiftStdlib 5 . 7 , * )
31
31
public class FakeInvocationDecoder : DistributedTargetInvocationDecoder {
32
32
public typealias SerializationRequirement = Transferable
33
33
@@ -49,6 +49,7 @@ public class FakeInvocationDecoder: DistributedTargetInvocationDecoder {
49
49
}
50
50
51
51
// NOT final on purpose
52
+ @available ( SwiftStdlib 5 . 7 , * )
52
53
public class FakeInvocationEncoder : DistributedTargetInvocationEncoder {
53
54
public typealias SerializationRequirement = Transferable
54
55
@@ -70,6 +71,7 @@ public class FakeInvocationEncoder : DistributedTargetInvocationEncoder {
70
71
}
71
72
72
73
// NOT final on purpose
74
+ @available ( SwiftStdlib 5 . 7 , * )
73
75
public class NotFinalActorSystemForAdHocRequirementTest : DistributedActorSystem , @unchecked Sendable {
74
76
public typealias ActorID = String
75
77
public typealias InvocationEncoder = FakeInvocationEncoder
You can’t perform that action at this time.
0 commit comments