handlebars.java
handlebars.java copied to clipboard
"Template does not provide a @partial-block for template" error
The following (arguably contrived) example fails on handlebars.java 4.1.2 but passes on http://tryhandlebarsjs.com/:
{{#*inline "hello"}}
Hello
{{/inline}}
{{#*inline "render"}}
{{> @partial-block}}
{{/inline}}
{{#>render}}
{{#*inline "inlineTemplate"}}
{{#>hello}}{{/hello}}
{{/inline}}
{{>inlineTemplate}}
{{/render}}
The error I get is:
template.hbs:10:4 does not provide a @partial-block for template.hbs:6:6
Not sure this has been reported before or even if it's been fixed on master
.
Thanks.