[Issue 14010] New: Support mangleof property for opaque enum type
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Jan 19 07:45:43 PST 2015
https://issues.dlang.org/show_bug.cgi?id=14010
Issue ID: 14010
Summary: Support mangleof property for opaque enum type
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Keywords: rejects-valid
Severity: normal
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: k.hara.pg at gmail.com
Following code:
enum E;
pragma(msg, E.mangleof);
Currently produces:
test.d(1): Error: enum test.E is forward referenced when looking for 'mangleof'
E4test1E
But the "forward referenced" error is excess so the mangling named enum does
not need member declarations.
--
More information about the Digitalmars-d-bugs
mailing list