http://d.puremagic.com/issues/show_bug.cgi?id=4729
Andrei Alexandrescu changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|
http://d.puremagic.com/issues/show_bug.cgi?id=4729
--- Comment #8 from hst...@quickfur.ath.cx 2013-01-04 22:11:08 PST ---
In that case, we should probably close the bug, since the latest Phobos throws
an exception upon calling reduce() with an empty range and no start value.
--
Configure issue
http://d.puremagic.com/issues/show_bug.cgi?id=4729
--- Comment #7 from bearophile_h...@eml.cc 2013-01-04 18:36:53 PST ---
(In reply to comment #6)
> The problem here is that no start value is given.
In this case Python raises an error. I think this is acceptable:
>>> reduce(lambda a,b: a * b,
http://d.puremagic.com/issues/show_bug.cgi?id=4729
--- Comment #6 from hst...@quickfur.ath.cx 2013-01-04 18:17:16 PST ---
The problem here is that no start value is given.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because:
http://d.puremagic.com/issues/show_bug.cgi?id=4729
--- Comment #5 from bearophile_h...@eml.cc 2013-01-04 17:53:04 PST ---
(In reply to comment #4)
> In latest git head, throws an exception. Is this acceptable (should the bug be
> closed)?
>
> Or is it better to have reduce return (ElementType!R
http://d.puremagic.com/issues/show_bug.cgi?id=4729
hst...@quickfur.ath.cx changed:
What|Removed |Added
CC||hst...@quickfur.ath.cx
--- Com
http://d.puremagic.com/issues/show_bug.cgi?id=4729
Brad Anderson changed:
What|Removed |Added
CC||e...@gnuk.net
--- Comment #3 from Brad
http://d.puremagic.com/issues/show_bug.cgi?id=4729
Andrei Alexandrescu changed:
What|Removed |Added
Status|NEW |ASSIGNED
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=4729
--- Comment #2 from Max Klyga 2010-08-26 07:50:27 PDT ---
This bug was introduced in 2.048, as is 2.047 iota stops but fails shortly
after:
src/phobos/std/algorithm.d(279): Enforcement failed
--
Configure issuemail: http://d.puremagic.com/iss
http://d.puremagic.com/issues/show_bug.cgi?id=4729
bearophile_h...@eml.cc changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
10 matches
Mail list logo