[SR-6355] Tuples of Equatable should be Equatable #48905
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
Additional Detail from JIRA
md5: f70a4edbc5c6eadada13b7be9f7df85c
duplicates:
Issue Description:
SE 0015 offers == overloads for tuples of Equatable. However it is not enough. Multiple Return Values of functions is a great feature of Swift but are very awkward in testing without tuples conforming to Equatable:
Yes, I can use XCTAssert with == instead of XCTAssertEqual as a workaround, but like I said, awkward. It also makes the intention and testing reports less clear.
The text was updated successfully, but these errors were encountered: