Skip to content

Scala: fix for parsing optional braces in a function expression#7792

Merged
greg-at-moderne merged 1 commit into
mainfrom
greg-scala-synthetic-block-double-braces
May 27, 2026
Merged

Scala: fix for parsing optional braces in a function expression#7792
greg-at-moderne merged 1 commit into
mainfrom
greg-scala-synthetic-block-double-braces

Conversation

@greg-at-moderne
Copy link
Copy Markdown
Contributor

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

What's changed?

A targeted fix for Scala parser for optional braces in a function expression.

What's your motivation?

They suffer from idempotency issues, adding extra braces in round-trip.

@github-project-automation github-project-automation Bot moved this to In Progress in OpenRewrite May 27, 2026
@greg-at-moderne greg-at-moderne marked this pull request as ready for review May 27, 2026 08:58
@greg-at-moderne greg-at-moderne merged commit 836fe86 into main May 27, 2026
1 check passed
@greg-at-moderne greg-at-moderne deleted the greg-scala-synthetic-block-double-braces branch May 27, 2026 08:58
@github-project-automation github-project-automation Bot moved this from In Progress to Done in OpenRewrite May 27, 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