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 77
88import Distributed
99
10- // NOTE: None of the ad-hoc protocol requirement implementations
11-
1210public protocol Transferable : Sendable { }
1311
1412// NOT final on purpose
13+ @available ( SwiftStdlib 5 . 7 , * )
1514public class TheSpecificResultHandlerWhichIsANonFinalClass : DistributedTargetInvocationResultHandler {
1615 public typealias SerializationRequirement = Transferable
1716
@@ -28,6 +27,7 @@ public class TheSpecificResultHandlerWhichIsANonFinalClass: DistributedTargetInv
2827}
2928
3029// NOT final on purpose
30+ @available ( SwiftStdlib 5 . 7 , * )
3131public class FakeInvocationDecoder : DistributedTargetInvocationDecoder {
3232 public typealias SerializationRequirement = Transferable
3333
@@ -49,6 +49,7 @@ public class FakeInvocationDecoder: DistributedTargetInvocationDecoder {
4949}
5050
5151// NOT final on purpose
52+ @available ( SwiftStdlib 5 . 7 , * )
5253public class FakeInvocationEncoder : DistributedTargetInvocationEncoder {
5354 public typealias SerializationRequirement = Transferable
5455
@@ -70,6 +71,7 @@ public class FakeInvocationEncoder : DistributedTargetInvocationEncoder {
7071}
7172
7273// NOT final on purpose
74+ @available ( SwiftStdlib 5 . 7 , * )
7375public class NotFinalActorSystemForAdHocRequirementTest : DistributedActorSystem , @unchecked Sendable {
7476 public typealias ActorID = String
7577 public typealias InvocationEncoder = FakeInvocationEncoder
You can’t perform that action at this time.
0 commit comments