Skip to content

Scala: fix handling the case of an extra semicolon at the end of the …#8075

Merged
greg-at-moderne merged 1 commit into
mainfrom
greg-scala-top-level-trailing-semicolon
Jun 22, 2026
Merged

Scala: fix handling the case of an extra semicolon at the end of the …#8075
greg-at-moderne merged 1 commit into
mainfrom
greg-scala-top-level-trailing-semicolon

Conversation

@greg-at-moderne

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

Copy link
Copy Markdown
Contributor

…program

What's changed?

Scala - fixing parsing of a program ending with an optional semicolon, e.g.

val x = 1;

What's your motivation?

Currently the semicolon is swallowed.

@greg-at-moderne greg-at-moderne self-assigned this Jun 19, 2026
@github-project-automation github-project-automation Bot moved this to In Progress in OpenRewrite Jun 19, 2026
@greg-at-moderne greg-at-moderne marked this pull request as ready for review June 22, 2026 05:01
@greg-at-moderne greg-at-moderne merged commit de83f6d into main Jun 22, 2026
1 check passed
@greg-at-moderne greg-at-moderne deleted the greg-scala-top-level-trailing-semicolon branch June 22, 2026 05:01
@github-project-automation github-project-automation Bot moved this from In Progress to Done in OpenRewrite Jun 22, 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