Skip to content

Scala: fix try catch single line default#7744

Merged
greg-at-moderne merged 2 commits into
mainfrom
greg-scala-fix-try-catch-single-line-default
May 20, 2026
Merged

Scala: fix try catch single line default#7744
greg-at-moderne merged 2 commits into
mainfrom
greg-scala-fix-try-catch-single-line-default

Conversation

@greg-at-moderne
Copy link
Copy Markdown
Contributor

@greg-at-moderne greg-at-moderne commented May 20, 2026

What's changed?

Fix Scala parser for case statements with value on the same line, e.g. catch case _: Exception => default

What's your motivation?

They suffer from idempotency issues.

@github-project-automation github-project-automation Bot moved this to In Progress in OpenRewrite May 20, 2026
@greg-at-moderne greg-at-moderne marked this pull request as ready for review May 20, 2026 10:55
@greg-at-moderne greg-at-moderne merged commit 525bafc into main May 20, 2026
1 check passed
@greg-at-moderne greg-at-moderne deleted the greg-scala-fix-try-catch-single-line-default branch May 20, 2026 10:55
@github-project-automation github-project-automation Bot moved this from In Progress to Done in OpenRewrite May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant