Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ScannerTokens: improve leading infix detection #3575

Merged
merged 2 commits into from
Feb 22, 2024

Conversation

kitbellew
Copy link
Contributor

This helps with ignoring cases which are not leading infix at the expense of possible syntax error detection.

Fixes #3571. Fixes scalameta/scalafmt#3786.

This helps with ignoring cases which are not leading infix at the
expense of possible syntax error detection.
Copy link
Collaborator

@tgodzik tgodzik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kitbellew kitbellew merged commit 3655f52 into scalameta:main Feb 22, 2024
24 checks passed
@kitbellew kitbellew deleted the 3571 branch February 22, 2024 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

scalafmt fail at parsing \n??? illegal start of simple expression error since 4.8.15
3 participants