August 12, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8541

           Summary: mangleof symbol passed as alias gets messed up
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: ellery-newcomer@utulsa.edu


--- Comment #0 from Ellery Newcomer <ellery-newcomer@utulsa.edu> 2012-08-11 22:13:34 PDT ---
dmd 2.060.

code:

template Z(string s) {
        pragma(msg, "fn.mangleof 2: " ~ s);
}
struct S(alias fn, string prop) {
        pragma(msg, "fn.mangleof 1: " ~ fn.mangleof);
            alias Z!(fn.mangleof) F;
}
class Foo{
        @property int i(){
                    return 1;
                        }
}
void main() {
        alias S!(Foo.i,"") SA1;
}

prints

fn.mangleof 1: _D8mangleof3Foo1iMFNdZi
fn.mangleof 2: FNdZi

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 26, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=8541


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich@gmail.com


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-01-26 15:56:08 PST ---
As a workaround for now you can use (fn).mangleof.

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