@@ -112,7 +112,7 @@ final class DatabaseAPITests {
112
112
let /* dataSnapshot */ _: DataSnapshot = dataSnapshot
113
113
}
114
114
115
- #if swift (>=5.5)
115
+ #if compiler (>=5.5) && canImport(_Concurrency )
116
116
if #available( iOS 15 . 0 , macOS 12 . 0 , macCatalyst 15 . 0 , tvOS 15 . 0 , * ) {
117
117
// async/await is a Swift 5.5+ feature available on iOS 15+
118
118
Task {
@@ -138,7 +138,7 @@ final class DatabaseAPITests {
138
138
let /* optionalString */ _: String ? = optionalString
139
139
}
140
140
141
- #if swift (>=5.5)
141
+ #if compiler (>=5.5) && canImport(_Concurrency )
142
142
if #available( iOS 15 . 0 , macOS 12 . 0 , macCatalyst 15 . 0 , tvOS 15 . 0 , * ) {
143
143
// async/await is a Swift 5.5+ feature available on iOS 15+
144
144
Task {
@@ -210,7 +210,7 @@ final class DatabaseAPITests {
210
210
let /* databaseReference */ _: DatabaseReference = databaseReference
211
211
}
212
212
213
- #if swift (>=5.5)
213
+ #if compiler (>=5.5) && canImport(_Concurrency )
214
214
if #available( iOS 15 . 0 , macOS 12 . 0 , macCatalyst 15 . 0 , tvOS 15 . 0 , * ) {
215
215
// async/await is a Swift 5.5+ feature available on iOS 15+
216
216
Task {
@@ -232,7 +232,7 @@ final class DatabaseAPITests {
232
232
let /* databaseReference */ _: DatabaseReference = databaseReference
233
233
}
234
234
235
- #if swift (>=5.5)
235
+ #if compiler (>=5.5) && canImport(_Concurrency )
236
236
if #available( iOS 15 . 0 , macOS 12 . 0 , macCatalyst 15 . 0 , tvOS 15 . 0 , * ) {
237
237
// async/await is a Swift 5.5+ feature available on iOS 15+
238
238
Task {
@@ -256,7 +256,7 @@ final class DatabaseAPITests {
256
256
let /* databaseReference */ _: DatabaseReference = databaseReference
257
257
}
258
258
259
- #if swift (>=5.5)
259
+ #if compiler (>=5.5) && canImport(_Concurrency )
260
260
if #available( iOS 15 . 0 , macOS 12 . 0 , macCatalyst 15 . 0 , tvOS 15 . 0 , * ) {
261
261
// async/await is a Swift 5.5+ feature available on iOS 15+
262
262
Task {
@@ -278,7 +278,7 @@ final class DatabaseAPITests {
278
278
let /* databaseReference */ _: DatabaseReference = databaseReference
279
279
}
280
280
281
- #if swift (>=5.5)
281
+ #if compiler (>=5.5) && canImport(_Concurrency )
282
282
if #available( iOS 15 . 0 , macOS 12 . 0 , macCatalyst 15 . 0 , tvOS 15 . 0 , * ) {
283
283
// async/await is a Swift 5.5+ feature available on iOS 15+
284
284
Task {
@@ -301,7 +301,7 @@ final class DatabaseAPITests {
301
301
let /* databaseReference */ _: DatabaseReference = databaseReference
302
302
}
303
303
304
- #if swift (>=5.5)
304
+ #if compiler (>=5.5) && canImport(_Concurrency )
305
305
if #available( iOS 15 . 0 , macOS 12 . 0 , macCatalyst 15 . 0 , tvOS 15 . 0 , * ) {
306
306
// async/await is a Swift 5.5+ feature available on iOS 15+
307
307
Task {
@@ -357,7 +357,7 @@ final class DatabaseAPITests {
357
357
let /* optionalString */ _: String ? = optionalString
358
358
}
359
359
360
- #if swift (>=5.5)
360
+ #if compiler (>=5.5) && canImport(_Concurrency )
361
361
if #available( iOS 15 . 0 , macOS 12 . 0 , macCatalyst 15 . 0 , tvOS 15 . 0 , * ) {
362
362
// async/await is a Swift 5.5+ feature available on iOS 15+
363
363
Task {
@@ -391,7 +391,7 @@ final class DatabaseAPITests {
391
391
let /* dataSnapshot */ _: DataSnapshot = dataSnapshot
392
392
}
393
393
394
- #if swift (>=5.5)
394
+ #if compiler (>=5.5) && canImport(_Concurrency )
395
395
if #available( iOS 15 . 0 , macOS 12 . 0 , macCatalyst 15 . 0 , tvOS 15 . 0 , * ) {
396
396
// async/await is a Swift 5.5+ feature available on iOS 15+
397
397
Task {
@@ -435,7 +435,7 @@ final class DatabaseAPITests {
435
435
let /* databaseReference */ _: DatabaseReference = databaseReference
436
436
}
437
437
438
- #if swift (>=5.5)
438
+ #if compiler (>=5.5) && canImport(_Concurrency )
439
439
if #available( iOS 15 . 0 , macOS 12 . 0 , macCatalyst 15 . 0 , tvOS 15 . 0 , * ) {
440
440
// async/await is a Swift 5.5+ feature available on iOS 15+
441
441
Task {
@@ -459,7 +459,7 @@ final class DatabaseAPITests {
459
459
let /* databaseReference */ _: DatabaseReference = databaseReference
460
460
}
461
461
462
- #if swift (>=5.5)
462
+ #if compiler (>=5.5) && canImport(_Concurrency )
463
463
if #available( iOS 15 . 0 , macOS 12 . 0 , macCatalyst 15 . 0 , tvOS 15 . 0 , * ) {
464
464
// async/await is a Swift 5.5+ feature available on iOS 15+
465
465
Task {
@@ -485,7 +485,7 @@ final class DatabaseAPITests {
485
485
let /* databaseReference */ _: DatabaseReference = databaseReference
486
486
}
487
487
488
- #if swift (>=5.5)
488
+ #if compiler (>=5.5) && canImport(_Concurrency )
489
489
if #available( iOS 15 . 0 , macOS 12 . 0 , macCatalyst 15 . 0 , tvOS 15 . 0 , * ) {
490
490
// async/await is a Swift 5.5+ feature available on iOS 15+
491
491
Task {
@@ -508,7 +508,7 @@ final class DatabaseAPITests {
508
508
let /* databaseReference */ _: DatabaseReference = databaseReference
509
509
}
510
510
511
- #if swift (>=5.5)
511
+ #if compiler (>=5.5) && canImport(_Concurrency )
512
512
if #available( iOS 15 . 0 , macOS 12 . 0 , macCatalyst 15 . 0 , tvOS 15 . 0 , * ) {
513
513
// async/await is a Swift 5.5+ feature available on iOS 15+
514
514
Task {
@@ -532,7 +532,7 @@ final class DatabaseAPITests {
532
532
let /* databaseReference */ _: DatabaseReference = databaseReference
533
533
}
534
534
535
- #if swift (>=5.5)
535
+ #if compiler (>=5.5) && canImport(_Concurrency )
536
536
if #available( iOS 15 . 0 , macOS 12 . 0 , macCatalyst 15 . 0 , tvOS 15 . 0 , * ) {
537
537
// async/await is a Swift 5.5+ feature available on iOS 15+
538
538
Task {
@@ -564,7 +564,7 @@ final class DatabaseAPITests {
564
564
let /* optionalDataSnapshot */ _: DataSnapshot ? = optionalDataSnapshot
565
565
}
566
566
567
- #if swift (>=5.5)
567
+ #if compiler (>=5.5) && canImport(_Concurrency )
568
568
if #available( iOS 15 . 0 , macOS 12 . 0 , macCatalyst 15 . 0 , tvOS 15 . 0 , * ) {
569
569
// async/await is a Swift 5.5+ feature available on iOS 15+
570
570
Task {
0 commit comments