Skip to content

Commit 3270220

Browse files
committed
Add UnsafeThrowingContinuation back as a deprecated typealias.
This helps migrate clients that reference this type. Fixes rdar://75104903.
1 parent 7d531f1 commit 3270220

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

stdlib/public/Concurrency/PartialAsyncTask.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,3 +211,6 @@ public func withUnsafeThrowingContinuation<T>(
211211
fn(UnsafeContinuation<T, Error>($0))
212212
}
213213
}
214+
215+
@available(*, deprecated, message: "please use UnsafeContination<..., Error>")
216+
public typealias UnsafeThrowingContinuation<T> = UnsafeContinuation<T, Error>

0 commit comments

Comments
 (0)