[Issue 5718] Can't demangle symbol defined inside unittest block

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 1 07:44:11 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=5718


Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull


--- Comment #5 from Kenji Hara <k.hara.pg at gmail.com> 2012-02-01 07:44:09 PST ---
(In reply to comment #4)
> Ok, can you do a pull request for deprecating it, and then we can close this?

Sorry, I had mistaken. std.traits.mangledName has an extra feature against the
built-in mangleof property. It returns a pseudo mangled name from given
template symbol.

// from unittest
assert(mangledName!mangledName == "3std6traits11mangledName");

It is useful for getting unique string from template symbol, even if
std.demangle.demangle() cannot demangle it.

Therefore, now I cannot recommend to deprecate it.
But we can fix the original issue. Please merge following pull:

https://github.com/D-Programming-Language/phobos/pull/414

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list