Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/ComposableArchitecture/Effect.swift
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ extension Effect {
name: String?,
priority: TaskPriority? = nil,
operation: @escaping @Sendable () async throws -> Success
) where Failure == Error {
) where Failure == any Error {
self.init(priority: priority, operation: operation)
}
}
Expand Down
1 change: 1 addition & 0 deletions Sources/ComposableArchitecture/Macros.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public macro Reducer(state: _SynthesizedConformance..., action: _SynthesizedConf
#endif
public struct _SynthesizedConformance: Sendable {}

@available(*, deprecated, message: "Define your conformance using an extension, instead")
extension _SynthesizedConformance {
/// Extends the `State` or `Action` types that ``Reducer()`` creates with the `Codable`
/// protocol.
Expand Down
Loading