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 jsonnetfmt --debug-desugaring #1132

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

johnbartholomew
Copy link
Collaborator

The desugaring step handles string backslash escape sequences, but it puts the result back into the same AST elements that the input strings came from. When formatting, these strings need to be re-escaped to turn them into printable string literals.

@sparkprime
Copy link
Contributor

Nice

The desugaring step handles string backslash escape sequences, but it
puts the result back into the same AST elements that the input strings
came from. When formatting, these strings need to be re-escaped to
turn them into printable string literals.
@johnbartholomew johnbartholomew merged commit 5e90d57 into google:master Feb 9, 2024
4 checks passed
@johnbartholomew johnbartholomew deleted the debug-desugaring branch February 9, 2024 16:08
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