Skip to content

Scala: fix too optimistic matching of ???#7916

Merged
greg-at-moderne merged 1 commit into
mainfrom
greg-scala-string-literal-triple-question-dropped
Jun 5, 2026
Merged

Scala: fix too optimistic matching of ???#7916
greg-at-moderne merged 1 commit into
mainfrom
greg-scala-string-literal-triple-question-dropped

Conversation

@greg-at-moderne
Copy link
Copy Markdown
Contributor

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

What's changed?

??? is a special construct in Scala.
But these three signs appearing in a String literal shouldn't be matched. Fixing this.

What's your motivation?

Otherwise the parsing goes wrong.

@greg-at-moderne greg-at-moderne self-assigned this Jun 5, 2026
@github-project-automation github-project-automation Bot moved this to In Progress in OpenRewrite Jun 5, 2026
@greg-at-moderne greg-at-moderne marked this pull request as ready for review June 5, 2026 14:11
@greg-at-moderne greg-at-moderne merged commit 7229749 into main Jun 5, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in OpenRewrite Jun 5, 2026
@greg-at-moderne greg-at-moderne deleted the greg-scala-string-literal-triple-question-dropped branch June 5, 2026 14:11
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