Show error when template call with body refers to template without 'elements'
I sometimes make this mistake, e.g. when refactoring or wrapping a template.
Submitted by Elmer van Chastelet on 15 January 2015 at 10:27page root(){ mytempl(){ // <- Error: This template does not support having an elements body "show this" } } template mytempl(){ "No call to elements here" }
Log in to post comments