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

--- Comment #0 from Pupatenko Ilya <> 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()

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

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to