File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,10 @@ let package = Package(
19
19
targets: [
20
20
. target(
21
21
name: " AsyncQueue " ,
22
- dependencies: [ ] ) ,
22
+ dependencies: [ ] ,
23
+ swiftSettings: [
24
+ . enableUpcomingFeature( " StrictConcurrency " )
25
+ ] ) ,
23
26
. testTarget(
24
27
name: " AsyncQueueTests " ,
25
28
dependencies: [ " AsyncQueue " ] ,
Original file line number Diff line number Diff line change @@ -60,7 +60,6 @@ func testFIFOQueueOrdering() async {
60
60
}
61
61
}
62
62
63
- nonisolated
64
63
func flushQueue () async {
65
64
await queue.enqueueAndWait { }
66
65
}
@@ -110,7 +109,6 @@ func testActorQueueOrdering() async {
110
109
}
111
110
}
112
111
113
- nonisolated
114
112
func flushQueue () async {
115
113
await queue.enqueueAndWait { _ in }
116
114
}
@@ -148,7 +146,6 @@ func testMainActorQueueOrdering() async {
148
146
}
149
147
}
150
148
151
- nonisolated
152
149
func flushQueue () async {
153
150
await MainActorQueue.shared .enqueueAndWait { }
154
151
}
You can’t perform that action at this time.
0 commit comments