Skip to content

Scala: fix support for parsing of underscore numeric literals#7393

Merged
greg-at-moderne merged 1 commit intomainfrom
greg-scala-underscore-literals
Apr 16, 2026
Merged

Scala: fix support for parsing of underscore numeric literals#7393
greg-at-moderne merged 1 commit intomainfrom
greg-scala-underscore-literals

Conversation

@greg-at-moderne
Copy link
Copy Markdown
Contributor

@greg-at-moderne greg-at-moderne commented Apr 16, 2026

What's changed?

Fixing the Scala parser wrt parsing underscore numeric literals like 436_000.

What's your motivation?

The parser crashes with NumberFormatException

@github-project-automation github-project-automation bot moved this to In Progress in OpenRewrite Apr 16, 2026
@greg-at-moderne greg-at-moderne marked this pull request as ready for review April 16, 2026 16:06
@greg-at-moderne greg-at-moderne merged commit d74f908 into main Apr 16, 2026
1 check passed
@greg-at-moderne greg-at-moderne deleted the greg-scala-underscore-literals branch April 16, 2026 16:07
@github-project-automation github-project-automation bot moved this from In Progress to Done in OpenRewrite Apr 16, 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