digitalmars.D.bugs - [Issue 8541] New: mangleof symbol passed as alias gets messed up
- d-bugmail puremagic.com (36/36) Aug 11 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8541
- d-bugmail puremagic.com (10/10) Jan 26 2013 http://d.puremagic.com/issues/show_bug.cgi?id=8541
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 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: -------
Aug 11 2012
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 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: -------
Jan 26 2013