https://issues.dlang.org/show_bug.cgi?id=14346
Ketmar Dark <ket...@ketmar.no-ip.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ket...@ketmar.no-ip.org --- Comment #1 from Ketmar Dark <ket...@ketmar.no-ip.org> --- seems that there is some bug with template merging. change your template declarations to this: template isConvertibleToInstanceOf(alias From, alias To, usize dummy=__LINE__) template isConvertibleToInstanceOf(From, alias To, usize dummy=__LINE__) and you will never see pragma output from second `static if`. --