digitalmars.D.bugs - [Issue 4618] New: std.algorithm.reduce over fixed-size array (regression)
- d-bugmail puremagic.com (33/33) Aug 11 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4618
- d-bugmail puremagic.com (11/11) Aug 11 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4618
- d-bugmail puremagic.com (12/12) Feb 03 2011 http://d.puremagic.com/issues/show_bug.cgi?id=4618
http://d.puremagic.com/issues/show_bug.cgi?id=4618 Summary: std.algorithm.reduce over fixed-size array (regression) Product: D Version: unspecified Platform: Other OS/Version: Windows Status: NEW Severity: regression Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: spam extrawurst.org --- this used to work in dmd2.047 since dmd2.048 it does not [CODE] import std.algorithm; void main() { int[3] colSum; auto average = reduce!("a + b")(0, colSum); } [/CODE] dmd complains: main.d(9): Error: template std.algorithm.reduce!("a + b").reduce(Args...) if (Args.length > 0 && Args.length <= 2 && isInputRange!(Args[__dollar - 1])) does not match any function template declaration main.d(9): Error: template std.algorithm.reduce!("a + b").reduce(Args...) if (Args.length > 0 && Args.length <= 2 && isInputRange!(Args[__dollar - 1])) does not match any function template declaration -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 11 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4618 Thorsten Richter <IcyT gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |IcyT gmx.de I'm wondering why this bug made it to the release version because it was already brought up on the beta mailing list. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 11 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4618 Lars T. Kyllingstad <bugzilla kyllingen.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla kyllingen.net Resolution| |FIXED 00:19:38 PST --- The problem seems to be gone in DMD 2.051. Please reopen if I'm wrong. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 03 2011