Hmm, could you move this code in `TemplateInstance::semanticTiargs` with `flags & 1`?