Skip to content

Commit 4306c9c

Browse files
committed
Add missing availability annotation
1 parent a87ff78 commit 4306c9c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/Concurrency/strict_concurrency_off.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ struct S3 {
3131
func takeSendable(_ body: @Sendable () -> Void) {
3232
}
3333

34+
@available(SwiftStdlib 5.1, *)
3435
func passSendable(
3536
c1: C1, c2: C2, c3: C3, fn: @escaping () -> Void, s1: S1, s2: S2, s3: S3
3637
) async {

0 commit comments

Comments
 (0)