[swift-users] Making Error sub-enums Equatable
Quinn "The Eskimo!"
eskimo1 at apple.com
Wed May 10 04:16:22 CDT 2017
On 10 May 2017, at 09:23, Brent Royal-Gordon via swift-users <swift-users at swift.org> wrote:
> (given your "ignore the associated type" semantic)
This is the bit that worries me. The docs for `Equatable` are very clear that it implies /substitutability/, which is not the case if you ignore the associated values.
<https://developer.apple.com/reference/swift/equatable>
Share and Enjoy
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
More information about the swift-users
mailing list