digitalmars.D.bugs - [Issue 13304] New: std.algorithm.reduce: "Unable to deduce an
- via Digitalmars-d-bugs (25/25) Aug 15 2014 https://issues.dlang.org/show_bug.cgi?id=13304
https://issues.dlang.org/show_bug.cgi?id=13304 Issue ID: 13304 Summary: std.algorithm.reduce: "Unable to deduce an acceptable seed type" with float[] Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: rejects-valid Severity: regression Priority: P1 Component: Phobos Assignee: nobody puremagic.com Reporter: thecybershadow gmail.com /////////////////// test.d /////////////////// import std.algorithm; void main() { float[] nums; float sum = reduce!((a,b) => a + b)(nums); } ////////////////////////////////////////////// Introduced in https://github.com/D-Programming-Language/phobos/pull/2060 --
Aug 15 2014