Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
swhitty committed Aug 19, 2024
1 parent 37f8bc2 commit bff8375
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Tests/KeyValueEncoderTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -743,13 +743,7 @@ struct Node: Codable, Equatable {
}
}

#if compiler(>=6)
extension KeyValueEncoder.EncodedValue: @retroactive Equatable { }
#else
extension KeyValueEncoder.EncodedValue: Equatable { }
#endif

extension KeyValueEncoder.EncodedValue {
extension KeyValueEncoder.EncodedValue: Swift.Equatable {
public static func == (lhs: Self, rhs: Self) -> Bool {
do {
let lhsValue = try lhs.getValue()
Expand Down

0 comments on commit bff8375

Please sign in to comment.