Skip to content

[Proposal] Conform Never to Equatable and Hashable #855

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

mdiep
Copy link
Contributor

@mdiep mdiep commented May 26, 2018


## Alternatives considered
### Make `Never` conform to _all_ protocols
As a bottom type, `Never` could conceivably to every protocol automatically. This would have some advantages and might be ideal, but would require a lot more work to determine the design and implement the behavior.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could conceivably conform* to

@mdiep mdiep force-pushed the conform-never-to-equatable-and-hashable branch from 1cdc3cf to b0e16d9 Compare May 26, 2018 16:03
@tkremenek tkremenek merged commit 47d90df into swiftlang:master Jun 12, 2018
@mdiep mdiep deleted the conform-never-to-equatable-and-hashable branch June 12, 2018 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants