Created attachment 369
This patch should fix the problem.
InterfacesTuple!(T) causes a compile error when T is an interface.
Comment #1 by rsinfu — 2009-05-15T22:51:27Z
Created attachment 370
reimplements InterfacesTuple
InterfacesTuple is not correctly implemented. The result of InterfacesTuple does not contain indirectly inherited interfaces, whereas the documentation says it does. I reimplemented InterfacesTuple so that it conforms to the documentation.
This should compile:
--------------------
import std.traits;
interface Iaa {}
interface Ia : Iaa {}
interface I : Ia {}
static assert(is(InterfacesTuple!(I) == TypeTuple!(Ia, Iaa)));
--------------------