http://d.puremagic.com/issues/show_bug.cgi?id=2989


Shin Fujishiro <rsi...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #369 is|0                           |1
           obsolete|                            |




--- Comment #1 from Shin Fujishiro <rsi...@gmail.com>  2009-05-15 22:51:27 PDT 
---
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: -------

Reply via email to