[Issue 2881] x.stringof returns typeof(x).stringof when x is an enum
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Mar 14 05:04:39 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=2881
Vladimir <thecybershadow at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |thecybershadow at gmail.com
Version|1.041 |1.005
Severity|normal |major
--- Comment #2 from Vladimir <thecybershadow at gmail.com> 2010-03-14 05:04:34 PDT ---
Wow, what an ugly bug. This bug obliterates the entire concept of iterating
over all the fields of a struct/class using .tupleof, if there's an enum field
in it.
Also, I just checked and it's not a regression - this bug existed ever since
.stringof appeared in DMD 1.005.
--
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