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 #276 by using a synthetic name for literals in a for tag #277

Merged
merged 4 commits into from Dec 30, 2021
Merged

fix #276 by using a synthetic name for literals in a for tag #277

merged 4 commits into from Dec 30, 2021

Conversation

seancorfield
Copy link
Collaborator

Because the compile filter code special cases a literal, we need to pass a non-literal "name" to use for the case of a literal value -- because the apply-filters used in the for tag uses that name when adding to the context map.

@seancorfield
Copy link
Collaborator Author

This fixes #276 but it definitely feels like a bit of a workaround for the handling of literals.

@yogthos yogthos merged commit d0ce580 into yogthos:master Dec 30, 2021
@yogthos
Copy link
Owner

yogthos commented Dec 30, 2021

Ah good catch, just released the fix with 1.12.48.

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