Support typed errors. Misc formatting

This commit is contained in:
John Estropia
2024-09-10 11:14:39 +09:00
parent c9e091a6a4
commit 5dcf29011a
74 changed files with 3987 additions and 1441 deletions

View File

@@ -77,8 +77,8 @@ extension Internals {
}
@nonobjc
internal func performFetchFromSpecifiedStores() throws {
internal func performFetchFromSpecifiedStores() throws(any Swift.Error) {
try self.reapplyAffectedStores(self.typedFetchRequest, self.managedObjectContext)
try self.performFetch()
@@ -103,6 +103,9 @@ extension Internals {
// MARK: Private
@nonobjc
private let reapplyAffectedStores: (_ fetchRequest: Internals.CoreStoreFetchRequest<NSManagedObject>, _ context: NSManagedObjectContext) throws -> Void
private let reapplyAffectedStores: (
_ fetchRequest: Internals.CoreStoreFetchRequest<NSManagedObject>,
_ context: NSManagedObjectContext
) throws(any Swift.Error) -> Void
}
}