We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cbb121 commit 70cd2d8Copy full SHA for 70cd2d8
proposals/NNNN-async-function-isolation.md
@@ -244,7 +244,7 @@ func useAsValue(_ ns: NotSendable) async { ... }
244
@MainActor let global: NotSendable = .init()
245
246
@MainActor
247
-func callSendableClosure(closure: @Sendable (NotSendable) async -> Void) {
+func callSendableClosure(closure: @Sendable (NotSendable) async -> Void) async {
248
let ns = NotSendable()
249
await closure(ns) // okay
250
0 commit comments