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

Change Pattern to preserve user intent of ParensAround #7559

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

joshuawarner32
Copy link
Collaborator

Also, stop dropping final comments in parenthesized patterns/exprs.

In the future, this will allow more specificity in things like:

  • More accurately capturing user intent in formatting
  • Removing alias->annotation conversion, in favor of requiring parens if that's really what you want
  • Simplifying some formatter edge cases

... but for now, this is a plain refactoring PR

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.

1 participant