digitalmars.D.bugs - [Issue 5474] New: unaryFun byRef is borked for custom parameter name
- d-bugmail puremagic.com (28/28) Jan 22 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5474
- d-bugmail puremagic.com (8/8) Jan 22 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5474
- d-bugmail puremagic.com (10/10) Jan 22 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5474
- d-bugmail puremagic.com (12/12) Apr 12 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5474
http://d.puremagic.com/issues/show_bug.cgi?id=5474 Summary: unaryFun byRef is borked for custom parameter name Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: patch Severity: enhancement Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: simen.kjaras gmail.com PST --- std.functional.unaryFun fails if byRef is true and parmName != "a". Patch: static if (byRef) { Body!(ElementType).ReturnType result(ElementType)(ref ElementType __a) { mixin("alias __a "~parmName~";"); mixin(Body!(ElementType).code); } } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 22 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5474 Simen Kjaeraas <simen.kjaras gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 22 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5474 Andrei Alexandrescu <andrei metalanguage.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |andrei metalanguage.com AssignedTo|nobody puremagic.com |andrei metalanguage.com -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 22 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5474 David Simcha <dsimcha yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED CC| |dsimcha yahoo.com Resolution| |FIXED https://github.com/D-Programming-Language/phobos/commit/1578be026e5a8c99036b41e01dafc857205bc2d7 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 12 2011