http://d.puremagic.com/issues/show_bug.cgi?id=3651
Summary: mangleof broken for enums
Product: D
Version: 1.051
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from [email protected] 2009-12-26 11:32:07 PST ---
First off, this bug report is for dmd 1.053, not 1.051; but bugzilla let's me
only select up to 1.051.
.mangleof is broken for enums:
enum foo {
item,
}
//should output a mangled name with "foo" in it, but outputs "i"
pragma(msg, foo.mangleof);
void main() {}
I apologize if this is a duplicate bug; there were quite a lot of enum bugs
which look slightly similar (the compiler seems to reduce enums to ints
prematurely in a lot of cases).
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------