[Issue 10393] demangle doesn't work for unicode symbol names

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Feb 17 16:39:24 PST 2016


https://issues.dlang.org/show_bug.cgi?id=10393

hsteoh at quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsteoh at quickfur.ath.cx

--- Comment #2 from hsteoh at quickfur.ath.cx ---
Can't reproduce problem in dmd git HEAD. Has this been fixed, or am I
misunderstanding something?

Full program tested:
------
import std.demangle;
import std.stdio;
import std.traits;

struct A {
    int z;
    void foo(int x){}
    void さいごの果実(int x){}
    void ªå(int x){}
}

void main() {
    mangledName!(A.さいごの果実).demangle.writeln;
}
------

Output:
------
void test.A.さいごの果実(int)
------

--


More information about the Digitalmars-d-bugs mailing list