diff --git a/Sources/Merge/Intermodular/Extensions/Combine/ObservableObject++.swift b/Sources/Merge/Intermodular/Extensions/Combine/ObservableObject++.swift index f89b2bd..b4393e1 100644 --- a/Sources/Merge/Intermodular/Extensions/Combine/ObservableObject++.swift +++ b/Sources/Merge/Intermodular/Extensions/Combine/ObservableObject++.swift @@ -15,6 +15,10 @@ extension ObservableObject { public func _opaque_publishToObjectWillChange() throws { try cast(objectWillChange, to: (any _opaque_VoidSender).self).send() } + + public func _objectWillChange_send() where ObjectWillChangePublisher == ObservableObjectPublisher { + objectWillChange.send() + } } extension ObservableObject { diff --git a/Sources/Merge/Intramodular/Observable Tasks/Status/TaskFailure.swift b/Sources/Merge/Intramodular/Observable Tasks/Status/ObservableTaskFailure.swift similarity index 100% rename from Sources/Merge/Intramodular/Observable Tasks/Status/TaskFailure.swift rename to Sources/Merge/Intramodular/Observable Tasks/Status/ObservableTaskFailure.swift diff --git a/Sources/Merge/Intramodular/Process/_AsyncProcess.swift b/Sources/Merge/Intramodular/Process/_AsyncProcess.swift index b0e4f3c..fb99c7a 100644 --- a/Sources/Merge/Intramodular/Process/_AsyncProcess.swift +++ b/Sources/Merge/Intramodular/Process/_AsyncProcess.swift @@ -658,14 +658,14 @@ extension _AsyncProcess { @available(macCatalyst, unavailable) extension _AsyncProcess: CustomStringConvertible { public var description: String { -#if os(macOS) || targetEnvironment(macCatalyst) + #if os(macOS) || targetEnvironment(macCatalyst) Process._makeDescriptionPrefix( launchPath: self.process.launchPath, arguments: self.process.arguments ) -#else + #else fatalError() -#endif + #endif } } diff --git a/Sources/Merge/Intramodular/WIP/_AsyncTaskScheduler.swift b/Sources/Merge/Intramodular/WIP/_AsyncTaskScheduler.swift index f80c48e..111d5a2 100644 --- a/Sources/Merge/Intramodular/WIP/_AsyncTaskScheduler.swift +++ b/Sources/Merge/Intramodular/WIP/_AsyncTaskScheduler.swift @@ -48,7 +48,7 @@ extension _AsyncTaskScheduler { } } -// MARK: - Implemented Conformances +// MARK: - Conformees public struct _DefaultAsyncScheduler { public func schedule( diff --git a/Sources/Merge/Intramodular/WIP/_TaskSinkProtocol.swift b/Sources/Merge/Intramodular/WIP/_TaskSinkProtocol.swift index f6a140b..c024476 100644 --- a/Sources/Merge/Intramodular/WIP/_TaskSinkProtocol.swift +++ b/Sources/Merge/Intramodular/WIP/_TaskSinkProtocol.swift @@ -32,7 +32,7 @@ extension _TaskSinkProtocol { } } -// MARK: - Implemented Conformances +// MARK: - Conformees @_spi(Internal) extension TaskQueue: _TaskSinkProtocol { diff --git a/Sources/SwiftDI/Intramodular/Core/TaskDependencyKey.swift b/Sources/SwiftDI/Intramodular/Core/TaskDependencyKey.swift index 3e6b469..c09e8f3 100644 --- a/Sources/SwiftDI/Intramodular/Core/TaskDependencyKey.swift +++ b/Sources/SwiftDI/Intramodular/Core/TaskDependencyKey.swift @@ -31,7 +31,7 @@ public enum _TaskDependencyAttribute { case unstashable } -// MARK: - Implemented Conformances +// MARK: - Conformees public struct _OptionalTaskDependencyKey<T>: TaskDependencyKey { public typealias Domain = TaskDependencies