-
-
Notifications
You must be signed in to change notification settings - Fork 357
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: support type parameters on method references #4343
review: fix: support type parameters on method references #4343
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
flacoco flags 4 suspicious lines as the potential root cause of the test failure.
Wow... I think I accidentally stumbled upon a solution for #4291? Guess I need to look into that to make the tests pass, but
Object here I think)
Also the printer seems to print things wrong now, causing tests that depend on it to fail. I'll continue to look into it, but if you have any idea why that even happens now, please let me know (@slarse as you answered on the linked issue). EDIT: I had to switch from |
Looks pretty good, but I have added 2 style comments and can you add a testcase for something more complex like |
In 578c269, I switched from With My initial thought was that this could also help fixing #4291, but it also introduced unwelcomed side effects. I went the way switching to I was hoping someone else would more about how to track where that |
Hello @SirYwell, I’m Davide Ginelli, a researcher in software engineering that is currently working with other researchers on a software bot for fault localization (Flacocobot). As you may have seen, after you created the pull request #4343, Flacocobot automatically added a comment to the pull request proposing the most suspicious lines related to the failures that broke the CI. We would like to ask you:
Based on your availability and preferences, it would be great for us if you could write your opinion directly as response to this message or also have a short discussion (for example over Zoom or Meet) on Monday, 13th. Thank you! |
Thanks @SirYwell |
I don't really have any good answers. As for |
Hello @dginelli, I can't really say that I used the Flacocobot here to understand the test failures. I just looked up the run but I didn't find the test case it mentioned as failed. I also checked out that commit again and ran the test locally and it didn't fail. Not sure if I'm doing something wrong, but I'm a little bit confused here. I can give some more general feedback on it: The suspiciousness value seems to be pretty low in this case, but I don't know if that's only the case because the issue here was fairly complex as the tests were failing for somewhat indirect reasons. I think an explanation of that value would help to make use of it. Another thing you might want to look into is the Github Checks API. I think it's suited well for reports like that, and it would help to keep the reviews clean. I hope that's helpful for you :) |
Previously, generic parameters where neither present in the model nor printed. For example,
was printed as