[swift-evolution] [Proposal] Synthesizing Equatable/Hashable conformance for enums and structs

Tony Allevato tony.allevato at gmail.com
Wed Aug 9 10:36:33 CDT 2017


Now that Swift 5 is taking proposals, I'm dusting off my proposal to
synthesize Equatable/Hashable conformance for enums and structs. I had
implemented this a few months ago hoping to squeeze it in by the Swift 4
deadline, but unfortunately the timeline was too tight.

The pull request for the proposal is here:
https://github.com/apple/swift-evolution/pull/706. (Direct link to proposal
text:
https://github.com/allevato/swift-evolution/blob/b3dcffc2e6f74e17eba05a6eb7eb29ad58bf36a3/proposals/NNNN-synthesize-equatable-hashable.md
)

The pull request for the implementation (rebased last night) is here:
https://github.com/apple/swift/pull/9619

Thanks all!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170809/ada573f3/attachment.html>


More information about the swift-evolution mailing list