digitalmars.D.bugs - [Issue 2989] New: InterfacesTuple doesn't work with interface
- d-bugmail puremagic.com (20/20) May 15 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2989
- d-bugmail puremagic.com (25/25) May 15 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2989
- d-bugmail puremagic.com (11/11) Aug 27 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2989
http://d.puremagic.com/issues/show_bug.cgi?id=2989 Summary: InterfacesTuple doesn't work with interface Product: D Version: 2.030 Platform: PC OS/Version: All Status: NEW Keywords: patch, rejects-valid Severity: major Priority: P2 Component: Phobos AssignedTo: bugzilla digitalmars.com ReportedBy: rsinfu gmail.com Created an attachment (id=369) --> (http://d.puremagic.com/issues/attachment.cgi?id=369) This patch should fix the problem. InterfacesTuple!(T) causes a compile error when T is an interface. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 15 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2989 Shin Fujishiro <rsinfu gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- obsolete| | --- Created an attachment (id=370) --> (http://d.puremagic.com/issues/attachment.cgi?id=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))); -------------------- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 15 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2989 Andrei Alexandrescu <andrei metalanguage.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED 19:08:49 PDT --- Thanks for the fix! -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 27 2009