September 19, 2013
I just filed a bug report (
http://d.puremagic.com/issues/show_bug.cgi?id=11067)

Is there a workaround that keeps same syntax for user code?
Use case: i'm generating those from swig(+modifications to map C++
templates to D templates) so I can't factor the template bodies for
different template instantiations into a single definition.

----

A!(A!(int)) detections;
struct A(T) if(is(T==int)) {}
struct A(T) if(is(T==A!(int))) {}

----