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: nob...@puremagic.com ReportedBy: s...@extrawurst.org --- Comment #0 from Stephan Dilly <s...@extrawurst.org> 2010-08-11 01:51:41 PDT --- 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: -------