Open yanlin-yc opened 1 month ago
Thanks for the report @yanlin-yc ! Especially appreciate you writing a test to reproduce the issue. Did you use a debugger to see if you could pinpoint the cause of the issue as well? As much as we'd like to get to everything, any help towards a fix would be appreciated too if at all possible there.
What version of OpenRewrite are you using?
I am using
How are you running OpenRewrite?
This happened when running the unit test for writing a new recipe.
I noticed the issue is reproducible when setting the
matchOverrides
flag to true for theMethodMatcher
and also callingsuper.visitMethodInvocation
at the same time when overridingvisitMethodInvocation
in the custom visitor.What is the smallest, simplest way to reproduce the problem?
What did you expect to see?
Code is parsed and test should be running.
What did you see instead?
Test run failed.
What is the full stack trace of any errors you encountered?
Are you interested in contributing a fix to OpenRewrite?