www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - std.demangle.demangle does not parse symbols that are type names

reply "Carl Sturtivant" <sturtivant gmail.com> writes:
Use of demangle from std.demangle or core.demangle on the mangled 
names in an object or library generated by dmd works only on the 
names of functions, and not on the names of types embedded in 
such objects and libraries.

e.g. the following names are not demangled, being type names 
(ending in Z).

_D13libd_demangle12__ModuleInfoZ
_D15TypeInfo_Struct6__vtblZ
_D3std5stdio12__ModuleInfoZ
_D3std6traits15__T8DemangleTkZ8Demangle6__initZ
_D47TypeInfo_S3std6traits15__T8DemangleTkZ8Demangle6__initZ

Opinion: D should do the right thing and have the facility to 
demangle all of its own mangled names; no-one else will.
Aug 21 2012
parent reply Johannes Pfau <nospam example.com> writes:
Am Tue, 21 Aug 2012 15:34:35 +0200
schrieb "Carl Sturtivant" <sturtivant gmail.com>:

 snip
This newsgroup is only used to accumulate updates from the bug tracker. Please file your bug report directly at the bug tracker, as long as it's only a post in this newsgroup it will probably get lost. http://d.puremagic.com/issues/ If you don't want to file the bug report yourself, I could do that.
Aug 21 2012
next sibling parent "Carl Sturtivant" <sturtivant gmail.com> writes:
On Tuesday, 21 August 2012 at 19:08:31 UTC, Johannes Pfau wrote:
 Am Tue, 21 Aug 2012 15:34:35 +0200
 schrieb "Carl Sturtivant" <sturtivant gmail.com>:

 snip
This newsgroup is only used to accumulate updates from the bug tracker. Please file your bug report directly at the bug tracker, as long as it's only a post in this newsgroup it will probably get lost. http://d.puremagic.com/issues/ If you don't want to file the bug report yourself, I could do that.
Understood, and thanks. I followed the link and put in a bug report.
Aug 21 2012
prev sibling parent "dnewbie" <run3 myopera.com> writes:
Why don't you remove the 'create thread' button from this forum?
Lazy people...
Aug 21 2012