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

Render with locations #50

Merged
merged 2 commits into from
Dec 26, 2020
Merged

Conversation

gasche
Copy link
Collaborator

@gasche gasche commented Dec 25, 2020

This PR (on top of #49) is purely an internal refactoring, no user-visible change. Rendering is redefined to work on ASTs with locations, rather than ASTs without locations. The end-goal is to show the location of a template error in error messages, but this requires more work and a restructing of exceptions that would break compatibility -- so I split the easier part in a first PR.

@gasche
Copy link
Collaborator Author

gasche commented Dec 25, 2020

(I rebased this PR now that #49 is merged.)

This was referenced Dec 26, 2020
@gasche
Copy link
Collaborator Author

gasche commented Dec 26, 2020

Thanks! Merging now, and rebasing #51.

@gasche gasche merged commit 09493f4 into rgrinberg:master Dec 26, 2020
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