Skip to content

fix(fmt): preserve syntax across formatting round trips - #1523

Draft
cburgdorf wants to merge 1 commit into
argotorg:masterfrom
cburgdorf:fe_fmt_fix
Draft

cburgdorf wants to merge 1 commit into
argotorg:masterfrom
cburgdorf:fe_fmt_fix

Conversation

@cburgdorf

Copy link
Copy Markdown
Collaborator

Keep line breaks after parser-ambiguous operators, separate nested qualified-type angle brackets, and retain restricted visibility modifiers.

Handle item-leading trivia without accumulating blank lines, and add corpus round-trip and regression coverage for reparsing and idempotence.

Keep line breaks after parser-ambiguous operators, separate nested qualified-type angle brackets, and retain restricted visibility modifiers.

Handle item-leading trivia without accumulating blank lines, and add corpus round-trip and regression coverage for reparsing and idempotence.
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