Currently we allow a template to declare that it extends a base template, however this base template cannot extend another one, we should probably support this.
However we need to protect against infinite recursion, so keep track of all the templates that have been extended during recursion and error if we encounter a duplicate.
Initial implementation provided in #23
Currently we allow a template to declare that it extends a base template, however this base template cannot extend another one, we should probably support this.
However we need to protect against infinite recursion, so keep track of all the templates that have been extended during recursion and error if we encounter a duplicate.
Initial implementation provided in #23