Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swap using the provided indexes #55331

Merged
merged 1 commit into from
Oct 25, 2021
Merged

Swap using the provided indexes #55331

merged 1 commit into from
Oct 25, 2021

Conversation

pbiggar
Copy link
Contributor

@pbiggar pbiggar commented Jul 8, 2021

SwapElements is passed two indexes, however, it ignored the second index and instead used index + 1. It just so happened that the caller uses index + 1 as the second index (as a result, this change should not change any behaviour) but that might not have been the case and the code is clearly wrong here.

SwapElements is passed two indexes, however, it ignored the second index
and instead used `index + 1`. It just so happened that the caller used
`index + 1` as the second index, but that might not have been the case.
@dnfadmin
Copy link

dnfadmin commented Jul 8, 2021

CLA assistant check
All CLA requirements met.

@pbiggar
Copy link
Contributor Author

pbiggar commented Jul 9, 2021

This looks like a formatting error - I checked and followed the instructions in the build log but couldn't find the patch in the artifacts. Nor could I run the formatter locally.

Can someone point me at the formatting artifact that I need to fix this, thanks!

@terrajobst terrajobst added the community-contribution Indicates that the PR has been added by a community member label Jul 19, 2021
@stephentoub stephentoub reopened this Aug 19, 2021
@stephentoub
Copy link
Member

Closing/reopening to kick-off CI again on latest main

Copy link
Member

@stephentoub stephentoub left a comment

Choose a reason for hiding this comment

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

Thanks.

@mangod9
Copy link
Member

mangod9 commented Sep 13, 2021

@stephentoub this appears to be ok to merge?

@stephentoub
Copy link
Member

@stephentoub this appears to be ok to merge?

It looks fine to me, but I avoided merging it figuring the owner of this code might want to weigh in.

@mangod9 mangod9 merged commit 80de47a into dotnet:main Oct 25, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Nov 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-crossgen2-coreclr community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants