Skip to content

Scala: fix parsing of backtick-wrapped identifiers#7440

Merged
greg-at-moderne merged 1 commit intomainfrom
greg-scala-parser-bug-fix
Apr 21, 2026
Merged

Scala: fix parsing of backtick-wrapped identifiers#7440
greg-at-moderne merged 1 commit intomainfrom
greg-scala-parser-bug-fix

Conversation

@greg-at-moderne
Copy link
Copy Markdown
Contributor

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

What's your motivation?

In Scala you can wrap an identifier with backticks if it contains some special characters.

What's changed?

Fixing the parser to handle this. Storing the original source spelling in the LST.

@github-project-automation github-project-automation Bot moved this to In Progress in OpenRewrite Apr 21, 2026
@greg-at-moderne greg-at-moderne marked this pull request as ready for review April 21, 2026 08:09
@greg-at-moderne greg-at-moderne merged commit 98eb6fe into main Apr 21, 2026
1 check passed
@greg-at-moderne greg-at-moderne deleted the greg-scala-parser-bug-fix branch April 21, 2026 08:09
@github-project-automation github-project-automation Bot moved this from In Progress to Done in OpenRewrite Apr 21, 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