KEMBAR78
Render with locations by gasche · Pull Request #50 · rgrinberg/ocaml-mustache · GitHub
Skip to content

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 gasche force-pushed the render-with-locations branch from 25d0b3f to e8925e2 Compare December 25, 2020 21:21
@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