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: nob...@puremagic.com ReportedBy: ellery-newco...@utulsa.edu --- Comment #0 from Ellery Newcomer <ellery-newco...@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: -------