Skip to content

Commit 2d1b835

Browse files
committed
Move to swift 6.2
1 parent f574335 commit 2d1b835

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
// swift-tools-version: 6.1
1+
// swift-tools-version: 6.2
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33

44
import PackageDescription
55

66
let package = Package(
77
name: "async-swiftly",
88
platforms: [
9-
.macOS(.v15),
9+
.macOS(.v26),
1010
],
1111
products: [
1212
.library(

Sources/AsyncSwiftly/TestingTaskGroup.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ public struct TestingTaskGroup<ObservationElement: Sendable>: ~Copyable {
103103
public mutating func addTask(at rawStep: Int, operation: sending @escaping @isolated(any) () async -> Void) {
104104
let instant = Clock.Instant(when: .step(rawStep))
105105
let executor = OperationExecutor(instant: instant, queue: queue)
106-
107-
group.addTask { [queue] in
106+
group.addImmediateTask { [queue] in
108107
await withTaskExecutorPreference(executor, operation: operation)
109108
queue.markAsReadyToComplete(instant)
110109
}

0 commit comments

Comments
 (0)