http://d.puremagic.com/issues/show_bug.cgi?id=7529
--- Comment #13 from d...@dawgfoto.de 2012-02-17 07:47:33 PST --- MidAir collision but thanks for the clarification. Most of those cases can be handled by aliasing the template declaration rather than the instance. alias Foo Alias; void foo(T)(Alias!T x){ pragma(msg, T); } foo(Foo!int.init); Which wouldn't work for recursion. template D(T){alias Foo!(Bar!(Qux!T)) D;} It seems to me that what you want is an AST macro not a template expansion. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------