Skip to content

Commit 0b37768

Browse files
authored
Merge pull request #71832 from rjmccall/fix-distributed-test
Fix a test to use SwiftStdlib 6.0 instead of 5.11
2 parents 503239a + 83850ef commit 0b37768

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Distributed/Runtime/distributed_actor_localSystem_generic.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
import Distributed
1818

19-
@available(SwiftStdlib 5.11, *)
19+
@available(SwiftStdlib 6.0, *)
2020
distributed actor Worker<ActorSystem> where ActorSystem: DistributedActorSystem<any Codable>, ActorSystem.ActorID: Codable {
2121
distributed func hi(name: String) {
2222
print("Hi, \(name)!")
@@ -28,7 +28,7 @@ distributed actor Worker<ActorSystem> where ActorSystem: DistributedActorSystem<
2828
}
2929

3030
// ==== Execute ----------------------------------------------------------------
31-
@available(SwiftStdlib 5.11, *)
31+
@available(SwiftStdlib 6.0, *)
3232
@main struct Main {
3333
static func main() async throws {
3434
let system = LocalTestingDistributedActorSystem()

0 commit comments

Comments
 (0)