Summary: mangleof broken for enums
           Product: D
           Version: 1.051
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from 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 {

//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:
------- You are receiving this mail because: -------

Reply via email to