Skip to content

Fix MergeSpaceVisitor unguarded casts for Kotlin, Java, Scala - #8553

Merged
greg-at-moderne merged 1 commit into
mainfrom
greg-review-kotlin-scala-msv
Aug 20, 2026
Merged

Fix MergeSpaceVisitor unguarded casts for Kotlin, Java, Scala#8553
greg-at-moderne merged 1 commit into
mainfrom
greg-review-kotlin-scala-msv

Conversation

@greg-at-moderne

@greg-at-moderne greg-at-moderne commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

What's changed?

Porting #8550 to other languages: Kotlin, Java, Scala.

What's your motivation?

I haven't observed the same problem for K, J, S, but when analyzing the issue for Groovy, it turned out it could be possible for these languages too. Thus fixing proactively.

@greg-at-moderne greg-at-moderne self-assigned this Aug 19, 2026
@github-project-automation github-project-automation Bot moved this to In Progress in OpenRewrite Aug 19, 2026
@greg-at-moderne
greg-at-moderne marked this pull request as ready for review August 20, 2026 07:24
@greg-at-moderne
greg-at-moderne merged commit 845c049 into main Aug 20, 2026
1 check passed
@greg-at-moderne
greg-at-moderne deleted the greg-review-kotlin-scala-msv branch August 20, 2026 07:24
@github-project-automation github-project-automation Bot moved this from In Progress to Done in OpenRewrite Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant