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

use of VIEW causes jemplate CLI to exit without finishing compiling #32

Open
tehmoth opened this issue Jan 29, 2024 · 0 comments
Open

Comments

@tehmoth
Copy link

tehmoth commented Jan 29, 2024

Templates containing VIEW directives cause jemplate to exit with the following, instead of compiling the template with a throw(...)

line 27: Can't locate object method "view" via package "Jemplate::Directive" at Parser.yp line 218. at /home/jwright/.perlbrew/libs/system@local/lib/perl5/Jemplate.pm line 374.

This prevents compiling a set of templates where one or more are using VIEWs

  • Views are still marked experimental, and not having a Jemplate implementation is fine, just handling unsupported directives shouldn't be fatal at the compile step, but rather at the template process time
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

No branches or pull requests

1 participant