You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BrendanHart
changed the title
Assigning parenthesised expressions fails with Groovy 2
Parenthesised ConstructorCallExpression and ConstantExpressions failing to parse with Groovy 2
Mar 31, 2025
What version of OpenRewrite are you using?
I am using
How are you running OpenRewrite?
Originally I found this bug whilst using the Gradle plugin with Gradle 6, but have since reproduced with a test.
What is the smallest, simplest way to reproduce the problem?
Added the below to
GroovyParserTest
in the Groovy 2 test suite:What did you expect to see?
The tests pass.
What did you see instead?
The tests fail.
What is the full stack trace of any errors you encountered?
Are you interested in contributing a fix to OpenRewrite?
Yes
The text was updated successfully, but these errors were encountered: