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: handle first token correctly #3244

Merged
merged 2 commits into from
Jun 1, 2022

Conversation

kitbellew
Copy link
Collaborator

No description provided.

@kitbellew kitbellew requested a review from tgodzik May 31, 2022 17:12
The left side of the initial token should copy from the left side of the
original initial token (i.e., BOF). Otherwise, if a few initial tokens
were removed, we'll end up with the wrong result.
@kitbellew kitbellew merged commit e5cb859 into scalameta:master Jun 1, 2022
@kitbellew kitbellew deleted the 3244 branch June 1, 2022 13:07
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.

2 participants