Specifying multiple templates in metas can never succeed
#271
Closed
opened 2 years ago by joel
·
1 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Originally reported by someone else on Discourse: it seems that when multiple templates are specified in the metas of a Pollen source, those templates will never be used.
Within an empty folder with these files:
Do the following (I did this in the terminal because DrRacket was giving me weird errors, even in this simple scenario, both on Mac and Windows):
I think the original reporter is correct that the problem is in
c182a30f57/pollen/render.rkt (L454-L463)
:The first argument to
eq?
here will always be a string, andoutput-path-ext
might sometimes be a string and sometimes a symbol (if the result of(current-poly-target)
is used); either way this comparison will always fail.Sounds right to me. Thanks.