Skip to content

Add suggested tuple equality tests#25486

Merged
jcouv merged 3 commits intodotnet:features/tuple-equalityfrom
jcouv:merge-fixups
Mar 16, 2018
Merged

Add suggested tuple equality tests#25486
jcouv merged 3 commits intodotnet:features/tuple-equalityfrom
jcouv:merge-fixups

Conversation

@jcouv
Copy link
Member

@jcouv jcouv commented Mar 15, 2018

From feature review notes and test plan: #22937

@jcouv jcouv added this to the 15.7 milestone Mar 15, 2018
@jcouv jcouv self-assigned this Mar 15, 2018
@jcouv jcouv requested a review from a team as a code owner March 15, 2018 03:19
@jcouv jcouv added the PR For Personal Review Only The PR doesn’t require anyone other than the developer to review it. label Mar 15, 2018
@jcouv jcouv force-pushed the merge-fixups branch 2 times, most recently from d749957 to de6aad8 Compare March 15, 2018 07:23
@jcouv jcouv changed the title [WIP] Add suggested tuple equality tests Add suggested tuple equality tests Mar 15, 2018
@jcouv jcouv removed the PR For Personal Review Only The PR doesn’t require anyone other than the developer to review it. label Mar 15, 2018
//
// Note: all the temps are created in a single bucket (rather than different scopes of applicability) for simplicity

// PROTOTYPE(tuple-equality) Consider if optimizations from TrivialLiftedComparisonOperatorOptimizations can be applied
Copy link
Member Author

@jcouv jcouv Mar 15, 2018

Choose a reason for hiding this comment

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

Filed #25487 #Resolved


ERR_TupleSizesMismatchForBinOps = 8373,
ERR_ExpressionTreeContainsTupleBinOp = 8374,
WRN_TupleBinopLiteralNameMismatch = 8375,
Copy link
Member Author

@jcouv jcouv Mar 15, 2018

Choose a reason for hiding this comment

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

When I merged latest dev15.7.x bits into features/tuple-equality branch yesterday, I had to do a force push because github kept giving me unicorns. This is fixing a merge issue. #Resolved

@jcouv
Copy link
Member Author

jcouv commented Mar 15, 2018

@dotnet/roslyn-compiler This is ready for review (test-only change and fixing a merge issue). Thanks #Resolved

@AlekseyTs
Copy link
Contributor

AlekseyTs commented Mar 15, 2018

@jcouv It looks like tests involving dynamic are failing on CoreClr. Should they be marked as DeskTop only? #Resolved

}

[Fact]
public void AnalysisOfTupleEquality()
Copy link
Contributor

@AlekseyTs AlekseyTs Mar 15, 2018

Choose a reason for hiding this comment

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

AnalysisOfTupleEquality [](start = 20, length = 23)

It would be good to test the same on an element, including nested tuple literal #Resolved

Copy link
Contributor

@AlekseyTs AlekseyTs left a comment

Choose a reason for hiding this comment

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

LGTM

@jcouv jcouv merged commit ba973de into dotnet:features/tuple-equality Mar 16, 2018
@jcouv jcouv deleted the merge-fixups branch March 16, 2018 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants