It looks like it is a front-end bug. But GDC does no better by listening to TemplateInstance::needsCodegen() Why it returns true in the working and false in the broken case, I have no idea. Ask Kenji, but I have reasons to believe this was fixed in 2.067.