Avatar
Avatar
kntk
@swift-main @swift-5.10.1 @swift-6.0-dev @MainActor func doSomething() async { await withUnsafeContinuation { continuation in if #available(macOS 14.0, *) { MainActor.shared.assertIsolated() } continuation.resume(returning: ()) } } await Task.detached { await doSomething() }.value (edited)
no output