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 vertical multiline: improve relay policy #3468

Merged
merged 1 commit into from
Feb 17, 2023

Conversation

kitbellew
Copy link
Collaborator

@kitbellew kitbellew commented Feb 16, 2023

Ensure that allOwners not only exclude the current paren owner but all the previous ones, too, making sure they are correctly sorted by their position.

Then reverse their order for Policy.Relay, thus ensuring that the left, or before, part of every relay is a simple policy, with the complex Relay in the after position.

Helps with #3466.

Ensure that `allOwners` not only exclude the current paren owner but all
the previous ones, too, making sure they are correctly sorted by their
position.

Then reverse their order for Policy.Relay, thus ensuring that the left,
or `before`, part of every relay is a simple policy, with the complex
Relay in the `after` position.
@kitbellew kitbellew changed the title FormatOps: improve vertical multiline relay policy FormatOps vertical multiline: improve relay policy Feb 17, 2023
@kitbellew kitbellew merged commit 8ce7795 into scalameta:master Feb 17, 2023
@kitbellew kitbellew deleted the 3468 branch February 17, 2023 16:43
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