|
|
| Previous ID |
SR-4172 |
| Radar |
None |
| Original Reporter |
@lilyball |
| Type |
Bug |
| Status |
Resolved |
| Resolution |
Done |
Environment
Apple Swift version 3.0.2 (swiftlang-800.0.63 clang-800.0.42.1)
Target: x86_64-apple-macosx10.9
Additional Detail from JIRA
|
|
| Votes |
0 |
| Component/s |
Standard Library |
| Labels |
Bug |
| Assignee |
anayini (JIRA) |
| Priority |
Medium |
md5: b7c81b111f008dc786f236ab4d1c0698
Issue Description:
As the summary says, () == () doesn't compile. This seems like an oversight, since tuples (up to 6-ary) support == if they can (i.e. if all their elements are Equatable), and there's no reason why the base case of the 0-ary tuple shouldn't.
Environment
Apple Swift version 3.0.2 (swiftlang-800.0.63 clang-800.0.42.1)
Target: x86_64-apple-macosx10.9
Additional Detail from JIRA
md5: b7c81b111f008dc786f236ab4d1c0698
Issue Description:
As the summary says,
() == ()doesn't compile. This seems like an oversight, since tuples (up to 6-ary) support==if they can (i.e. if all their elements areEquatable), and there's no reason why the base case of the 0-ary tuple shouldn't.