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

FormatTokensRewrite: allow a rule to claim tokens #3513

Merged
merged 2 commits into from
Mar 16, 2023

Conversation

kitbellew
Copy link
Collaborator

The example is when a rule "moves" a token from one position to another, which requires it to process both tokens. However, previously, the other token could have easily been processed by another rule.

Fixes #3496.

The example is when a rule "moves" a token from one position to another,
which requires it to process both tokens. However, previously, the other
token could have easily been processed by another rule.
@kitbellew kitbellew merged commit d0d3a37 into scalameta:master Mar 16, 2023
@kitbellew kitbellew deleted the 3496_5 branch March 16, 2023 15:52
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.

Orphan parens error
2 participants