[Issue 10552] New: Cannot apply access specifiers to individual anonymous enum members

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jul 5 14:00:16 PDT 2013


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

           Summary: Cannot apply access specifiers to individual anonymous
                    enum members
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: andrej.mitrovich at gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-07-05 14:00:15 PDT ---
-----
enum
{
    private A = 1,
    B = 2,
}
-----

$ dmd test.d
> Error: basic type expected, not private

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


More information about the Digitalmars-d-bugs mailing list