-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
Implemented Needs ECMA SpecThis feature has been implemented in C#, but still needs to be merged into the ECMA specificationThis feature has been implemented in C#, but still needs to be merged into the ECMA specificationProposal champion
Milestone
Description
Summary
Support == and != on tuples.
For example (x, y) == (1, 2) (which would be equivalent to x == 1 && y == 2).
- Proposal added (Proposal for tuple equality/inequality comparisons #967)
- Discussed in LDM
- Decision in LDM
- Finalized (done, rejected, inactive)
- Spec'ed
See also dotnet/roslyn#13155
LDM history:
- https://github.com/dotnet/csharplang/blob/master/meetings/2017/LDM-2017-02-21.md#implementing--and--on-tuple-types
- https://github.com/dotnet/csharplang/blob/master/meetings/2017/LDM-2017-12-04.md#equality-operators-on-tuples
Started prototype at tuple-equality
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Implemented Needs ECMA SpecThis feature has been implemented in C#, but still needs to be merged into the ECMA specificationThis feature has been implemented in C#, but still needs to be merged into the ECMA specificationProposal champion