Open ghost opened 9 months ago
Thanks for reporting this issue! We have a variable name utility class that should be used here to generate a unique name given the context. Should be relatively straightforward if you'd want to explore that yourself.
Replicated and picked up in https://github.com/openrewrite/rewrite-static-analysis/pull/175 by @KoTurk
What version of OpenRewrite are you using?
I am using
How are you running OpenRewrite?
I am using the Maven plugin, and my project is a single module project.
What is the smallest, simplest way to reproduce the problem?
What did you expect to see?
What did you see instead?
Are you interested in contributing a fix to OpenRewrite?