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

           Summary: stringof of nested enums doesn't give sufficient
                    information
           Product: D
           Version: 2.040
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: e.insafutdi...@gmail.com


--- Comment #0 from Eldar Insafutdinov <e.insafutdi...@gmail.com> 2010-03-20 
03:13:15 PDT ---
class Foo
{
    enum Boo
    {
        X
    }
}

pragma(msg, Foo.Boo.stringof);

prints:

Boo

I can't use it for meta-programming purposes, as it does not specifies the
type. At the very least it should return "Foo.Boo".

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

Reply via email to