[Issue 10951] EnumMembers returns duplicate members for enums

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Sep 2 07:24:50 PDT 2013


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


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Optlink                     |Phobos


--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-09-02 07:24:49 PDT ---
(In reply to comment #1)
> So I'm not entirely sure EnumMembers is actually at fault here. It's the enum
> to string conversion that is "breaking". But at the same time, there are too
> enum members with the same value, so I'm not sure this is fixable. At best,
> documented and worked around.

Hmm yeah, you're right. I think I'll just make a pull with a doc fix, by
refering to NoDuplicates if someone wants to do code-generation with this
trait.

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