Also found that if I take out the "size_t N" template parameter, it works fine with dmd-2.054 too. So the following test code compiles and runs just fine:<div><br></div><div><div>import std.stdio;</div><div>struct Foo(IF/*, size_t N*/) {}</div>
<div>interface Bar {}</div><div>void main() {</div><div> void printFoo(T: Foo!(IF/*, N*/), IF/*, size_t N*/)(T foo)</div><div> if(is(IF == interface)) {</div><div> writeln("Type: ", T.stringof);</div><div>
}</div><div> Foo!(Bar/*, 1*/) foo;</div><div> printFoo(foo);</div><div>}</div></div><div><br></div>