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

cleanup: Simplify pretty-printer. #51

Merged
merged 1 commit into from
Feb 5, 2022
Merged

Conversation

iphydf
Copy link
Member

@iphydf iphydf commented Feb 5, 2022

By recording semicolons in the AST, we don't need to go out of our way
to recover this information in the pretty-printer. Now the
pretty-printer is a nice simple function of Ast -> Doc for any given
node without context.


This change is Reviewable

By recording semicolons in the AST, we don't need to go out of our way
to recover this information in the pretty-printer. Now the
pretty-printer is a nice simple function of `Ast -> Doc` for any given
node without context.
@iphydf iphydf added this to the 0.0.14 milestone Feb 5, 2022
@auto-add-label auto-add-label bot added the cleanup Internal code cleanup, possibly affecting semantics, e.g. deleting a deprecated feature. label Feb 5, 2022
Copy link
Member

@JFreegman JFreegman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 7 of 7 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 1 approvals obtained

@iphydf iphydf merged commit 446530f into TokTok:master Feb 5, 2022
@iphydf iphydf deleted the cleanup-pp branch February 5, 2022 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Internal code cleanup, possibly affecting semantics, e.g. deleting a deprecated feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants