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

           Summary: Regression (2.064 HEAD): anon enum members no longer
                    have enum base type
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: andrej.mitrov...@gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2013-07-06 
15:39:50 PDT ---
-----
enum : ubyte
{
    GL_FALSE                          = 0,
    GL_TRUE                           = 1,
}

void main()
{
    static assert(is(typeof(GL_TRUE) == ubyte));
}
-----

2.063:
$ dmd test.d
>

2.064 git-head:
$ dmd test.d
> test.d(11): Error: static assert  (is(int == ubyte)) is false

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

Reply via email to