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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 17 11:35:31 PDT 2013


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 at puremagic.com
        ReportedBy: sean at invisibleduck.org


--- Comment #0 from Sean Kelly <sean at invisibleduck.org> 2013-06-17 11:35:30 PDT ---
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: -------


More information about the Digitalmars-d-bugs mailing list