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

FormatOps: in CtrlBodySplits, add consistency #4003

Merged
merged 2 commits into from
May 16, 2024

Conversation

kitbellew
Copy link
Collaborator

Previously, the code was computing splits differently for tokens with a break and without one. Since we could potentially have no-break in the source but format with one, this could introduce non-idempotency.

@kitbellew kitbellew requested a review from tgodzik May 16, 2024 05:14
Previously, the code was computing splits differently for tokens with a
break and without one. Since we could potentially have no-break in the
source but format with one, this could introduce non-idempotency.
@kitbellew kitbellew merged commit 416c540 into scalameta:master May 16, 2024
9 checks passed
@kitbellew kitbellew deleted the 4003 branch May 16, 2024 14:20
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