[phobos] sign up to fix regression Issue 5718 - Can't demangle symbol defined inside unittest block

kenji hara k.hara.pg at gmail.com
Wed Feb 1 07:47:51 PST 2012


It is a limitation of current mangledName implementation.
But we cannot completely replace it to built-in mangleof property, see:
http://d.puremagic.com/issues/show_bug.cgi?id=5718#c5

And also, I've posted a pull to fix the original issue.
https://github.com/D-Programming-Language/phobos/pull/414

Thanks.

Kenji Hara

2012/2/1 Walter Bright <walter at digitalmars.com>:
> I don't know. The Dummy part is coming from the unmangle template, not the
> compiler. I don't know where the nt is coming from.
>
>
>
> On 1/31/2012 2:27 PM, Sean Kelly wrote:
>>
>> Why was the prefix for that symbol changed from "_D21demangle…" to
>> "nt11__unittest1FZv59__T5DummyS46_D21demangle…"?  What does the "nt"
>> signify?  The rest of the new symbol name looks like it will demangle
>> correctly, but core.demangle does expect the symbol to begin with "_D".
>>
>> On Jan 31, 2012, at 1:58 AM, Walter Bright wrote:
>>
>>> http://d.puremagic.com/issues/show_bug.cgi?id=5718
>>>
>>> std.traits.mangledName is broken. Being a regression, this should get
>>> fixed.
>>>
>>> Who wants to sign up for it?
>
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos


More information about the phobos mailing list