Bug 14010 – Support mangleof property for opaque enum and struct type
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-01-19T15:45:00Z
Last change time
2015-06-17T21:03:33Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
k.hara.pg
Comments
Comment #0 by k.hara.pg — 2015-01-19T15:45:43Z
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.