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

           Summary: traits.d BaseClassesTuple function incorrectly handles
                    Object class argument
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: p...@bk.ru


--- Comment #0 from Pupatenko Ilya <p...@bk.ru> 2011-03-21 12:41:01 PDT ---
It is said in documentation of std.traits module that "BaseTypeTuple!(Object)
returns the empty type tuple."

But in D 2.052 the follownig code fails to compile:

import std.traits, std.typetuple, std.stdio;
void main()
{
    writeln(typeid(BaseClassesTuple!Object));
}

The error message is:
<...>\src\phobos\std\traits.d(1772): Error: tuple index 0 exceeds 0

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to