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

rules capturing leading tokens can be suppressed with scalafix:ok #1890

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

bjaglin
Copy link
Collaborator

@bjaglin bjaglin commented Nov 9, 2023

Fix #1889

Comment on lines +426 to +427
// include line start in case the rule captures leading tokens
val start = EscapeOffset(t.pos.start - t.pos.startColumn)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this is the actual fix - the rest of the changes is to satisfy scalafix-tests/input/src/main/scala-2/test/escapeHatch/Issue694.scala

@bjaglin bjaglin marked this pull request as ready for review November 9, 2023 19:57
@bjaglin bjaglin merged commit 77925aa into scalacenter:main Nov 9, 2023
8 checks passed
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.

Cannot ignore DisableSyntax.regex which starts with .*
1 participant