Avatar
@swift-5.9.2 struct Value{} struct InputErrorCollection: Error {} struct OtherError: Error {} typealias Validated<Value> = Result<Value, InputErrorCollection> extension Validated where Failure == OtherError { func hoge() { print("OK???") } }