[SR-6802] Tuples of Equatable types aren't Equatable #49351
Labels
compiler
The Swift compiler in itself
conditional conformances
Feature → protocol → conformances: conditional conformances
conformances
Feature → protocol: protocol conformances
derived conformances
Feature → protocol → conformances: derived conformances aka synthesized conformances
duplicate
Resolution: Duplicates another issue
Equatable
Area → standard library: The `Equatable` protocol
feature
A feature request or implementation
swift evolution proposal needed
Flag → feature: A feature that warrants a Swift evolution proposal
tuples
Feature: tuples
Environment
Swift version 4.1-dev (LLVM ef53654946, Clang f7df1e5a04, Swift 831b78c)
Additional Detail from JIRA
md5: 5aaf6cd5b4a38cd8f897ea295227a431
duplicates:
Issue Description:
With the introduction of conditional conformance, this remains the last issue to finally get to a point where we don't need to implement Equatable manually.
Consider this:
The error you get is (which I also filed SR-6801 for):
I would expect this to work.
Fortunately we do have a temporary workaround:
The text was updated successfully, but these errors were encountered: