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

Fix AST node debug representation to pretty print #51

Merged
merged 1 commit into from Feb 28, 2023
Merged

Fix AST node debug representation to pretty print #51

merged 1 commit into from Feb 28, 2023

Conversation

squili
Copy link
Contributor

@squili squili commented Feb 13, 2023

The current implementation breaks {:#?} formatting and instead displays it as what {:?} would say. This change makes it so we use the correct formatter, meaning it will pretty print when asked.

@wooorm wooorm changed the title use direct nested Debug::fmt calls for ast Nodes Fix AST node debug representation to pretty print Feb 28, 2023
@wooorm wooorm merged commit 2498e31 into wooorm:main Feb 28, 2023
@wooorm
Copy link
Owner

wooorm commented Feb 28, 2023

Thanks!

@wooorm
Copy link
Owner

wooorm commented Apr 22, 2023

Released, thanks!

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.

None yet

2 participants