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

ast: better handling for empty interpolations #225

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

pgavlin
Copy link
Member

@pgavlin pgavlin commented Jan 31, 2024

Rather than treat empty interpolations as having no accessors, treat them as having a single accessor that is the empty string. This is still invalid--and we issue an error--but allows us to more faithfully represent the syntactical structure of the document.

Rather than treat empty interpolations as having no accessors, treat
them as having a single accessor that is the empty string. This is still
invalid--and we issue an error--but allows us to more faithfully
represent the syntactical structure of the document.
@pgavlin pgavlin added the impact/no-changelog-required This issue doesn't require a CHANGELOG update label Jan 31, 2024
@pgavlin pgavlin merged commit ba2d384 into main Jan 31, 2024
6 checks passed
@pgavlin pgavlin deleted the pgavlin/empty-interpolation branch January 31, 2024 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact/no-changelog-required This issue doesn't require a CHANGELOG update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants