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



--- Comment #2 from Kenji Hara <[email protected]> 2013-07-06 00:47:36 PDT ---
(In reply to comment #0)
> -----
> enum
> {
>     private A = 1,
>     B = 2,
> }
> -----
> 
> $ dmd test.d
> > Error: basic type expected, not private

I cannot see any benefits there.
You can just separate public anonymous enum and private one.

private enum
{
    A = 1,
}
enum
{
    B = 2,
}

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

Reply via email to