You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// after all: if you have async code, just call it directly, without the unsafe continuation
46
-
let _:String=Task.withUnsafeContinuation{ continuation in // expected-error{{cannot convert value of type '(_) async -> ()' to expected argument type '(Task.UnsafeContinuation<String>) -> Void'}}
46
+
let _:String=Task.withUnsafeContinuation{ continuation in // expected-error{{cannot convert value of type '(_) async -> ()' to expected argument type '(UnsafeContinuation<String>) -> Void'}}
47
47
lets=awaitsomeAsyncFunc() // rdar://70610141 for getting a better error message here
0 commit comments