isolated logic error inside functionLikeMacrosAsTemplateParameter