Hi Stefan, It is not required as you say. As I understood it, zielmicha wants to call dirty template from hygienic template.
One more potential solution.
template bar(a) {.dirty.} =
echo a
template foo() =
let a = 5
bar(a)
foo()
