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

review: fix: Fix the insertion order for CtStatementListImpl.insertBegin #4065

Merged
merged 6 commits into from
Aug 10, 2021
Merged

review: fix: Fix the insertion order for CtStatementListImpl.insertBegin #4065

merged 6 commits into from
Aug 10, 2021

Conversation

Rohitesh-Kumar-Jain
Copy link
Contributor

@Rohitesh-Kumar-Jain Rohitesh-Kumar-Jain commented Jul 26, 2021

fix:#4060

#4060

In #4063, I fixed CtCaseImpl.insertBegin, this PR aims to fix CtStatementListImpl.insertBegin. They have a similar bug and a similar fix, so I thought it's best to fix them simultaneously, so that we are able to close #4060 in concrete terms.

Also, this test is killing this mutation

Screenshot 2021-07-26 at 3 13 14 PM

link to #3967

@Rohitesh-Kumar-Jain Rohitesh-Kumar-Jain changed the title WIP: fix: Fix the insertion order for CtCaseImpl.insertBegin WIP: fix: Fix the insertion order for CtStatementListImpl.insertBegin Jul 26, 2021
@Rohitesh-Kumar-Jain Rohitesh-Kumar-Jain changed the title WIP: fix: Fix the insertion order for CtStatementListImpl.insertBegin review: fix: Fix the insertion order for CtStatementListImpl.insertBegin Aug 6, 2021
Copy link
Collaborator

@slarse slarse left a comment

Choose a reason for hiding this comment

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

lgtm, thanks @Rohitesh-Kumar-Jain!

@slarse slarse merged commit c5e8ade into INRIA:master Aug 10, 2021
@Rohitesh-Kumar-Jain Rohitesh-Kumar-Jain deleted the fix-bug-4060-patch-2 branch August 11, 2021 02:12
@monperrus monperrus mentioned this pull request Aug 19, 2021
woutersmeenk pushed a commit to woutersmeenk/spoon that referenced this pull request Aug 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: insertBegin method is inserting list in reverse order than it should be
2 participants