Fix baseof with regular define regression

Fixes #6790
This commit is contained in:
Bjørn Erik Pedersen
2020-01-23 17:34:19 +01:00
parent 7ed22e9fb6
commit f441f67512
4 changed files with 112 additions and 17 deletions

View File

@@ -34,6 +34,10 @@ type templateInfo struct {
realFilename string
}
func (t templateInfo) IsZero() bool {
return t.name == ""
}
func (t templateInfo) resolveType() templateType {
return resolveTemplateType(t.name)
}