Skip to content

Commit a843bb6

Browse files
committed
Update Async+convenience.swift
Add iOS availability check to guarantee code compilation
1 parent 12c88b3 commit a843bb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Generator/Sources/Internal/Helpers/Async+convenience.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ extension Sequence where Element: Sendable {
4747
// A task group automatically waits for all of its
4848
// sub-tasks to complete, while also performing those
4949
// tasks in parallel:
50-
if #available(macOS 14.0, *) {
50+
if #available(macOS 14.0, iOS 17.0, *) {
5151
await withDiscardingTaskGroup { group in
5252
for element in self {
5353
group.addTask {

0 commit comments

Comments
 (0)