[Issue 6564] enum with no initializer compiles

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jan 30 22:19:31 PST 2012


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



--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-01-30 22:19:30 PST ---
(In reply to comment #1)
> --- x.di ---
> enum Length;

That's not generated by the compiler (at least not 2.057, I don't know about
2.058 HEAD). But how does it make sense to hide enum members anyway? I've never
seen D code that uses a forward enum declaration.

-- 
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