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.
Comment #1 by k.hara.pg — 2015-01-19T15:52:49Z
Comment #2 by k.hara.pg — 2015-01-19T16:47:54Z
(In reply to Kenji Hara from comment #0) > enum E; > pragma(msg, E.mangleof); Same issue exists for struct. struct S; pragma(msg, S.mangleof);
Comment #3 by github-bugzilla — 2015-01-19T18:20:25Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/e658b4ad07548c6c56aaf9139d603ccd8fe78e00 fix Issue 14010 - Support mangleof property for opaque enum and struct type https://github.com/D-Programming-Language/dmd/commit/4675d9e6033550f04d9bc2e0c3af24ac51c96364 Merge pull request #4314 from 9rnsr/fix14010 Issue 14010 - Support mangleof property for opaque enum and struct type
Comment #4 by github-bugzilla — 2015-03-30T06:10:47Z
Comment #5 by github-bugzilla — 2015-06-17T21:03:33Z