www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10393] New: demangle doesn't work for unicode symbol names

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

           Summary: demangle doesn't work for unicode symbol names
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime
        AssignedTo: nobody puremagic.com
        ReportedBy: sean invisibleduck.org



---
currently std.demangle.demangle doesn't work with unicode (see example below)

If we decide to keep allowing unicode symbols (as opposed to just unicode
strings/comments), we must 
address this issue. Will supporting this negatively impact performance (of both
compile time and runtime) ?

----
struct A{
    int z;
    void foo(int x){}
    void さいごの果実(int x){}
    void ªå(int x){}
}
mangledName!(A.さいごの果実).demangle.writeln;=>_D4util13demangle_funs1A18さいごの果実MFiZv
----

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