This commit is contained in:
John Estropia
2026-07-24 11:51:36 +09:00
parent 1ea9ad7c4a
commit 13093d72d4
51 changed files with 1083 additions and 243 deletions
+4 -4
View File
@@ -133,8 +133,8 @@ internal enum Internals {
@inline(__always)
internal static func autoreleasepool<T>(
_ closure: () throws(any Swift.Error) -> T
) throws(any Swift.Error) -> T {
_ closure: () throws(any Swift::Error) -> T
) throws(any Swift::Error) -> T {
return try ObjectiveC.autoreleasepool(invoking: closure)
}
@@ -142,8 +142,8 @@ internal enum Internals {
@inline(__always)
internal static func withCheckedThrowingContinuation<T>(
function: String = #function,
_ body: (CheckedContinuation<T, any Swift.Error>) -> Void
) async throws(any Swift.Error) -> sending T {
_ body: (CheckedContinuation<T, any Swift::Error>) -> Void
) async throws(any Swift::Error) -> sending T {
return try await _Concurrency.withCheckedThrowingContinuation(
function: function,