Skip to content

FormatWriter: fix inconsistent multiline alignment#4907

Merged
kitbellew merged 2 commits intoscalameta:mainfrom
kitbellew:4907
May 20, 2025
Merged

FormatWriter: fix inconsistent multiline alignment#4907
kitbellew merged 2 commits intoscalameta:mainfrom
kitbellew:4907

Conversation

@kitbellew
Copy link
Copy Markdown
Collaborator

@kitbellew kitbellew commented May 19, 2025

Remove EOL owner position check in isMatchPossible and simply rely on reference row being before current row. For multiline statements, that would not hold true.

@kitbellew kitbellew requested a review from tgodzik May 19, 2025 19:00
Remove EOL owner position check in `isMatchPossible` and simply rely on
reference row being before current row. For multiline statements, that
would not hold true.
@kitbellew kitbellew merged commit c10cf15 into scalameta:main May 20, 2025
22 checks passed
@kitbellew kitbellew deleted the 4907 branch May 20, 2025 12:27
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