http://d.puremagic.com/issues/show_bug.cgi?id=4729
Andrei Alexandrescu and...@erdani.com changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
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
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
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 #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
http://d.puremagic.com/issues/show_bug.cgi?id=4729
hst...@quickfur.ath.cx changed:
What|Removed |Added
CC||hst...@quickfur.ath.cx
---
http://d.puremagic.com/issues/show_bug.cgi?id=4729
Brad Anderson e...@gnuk.net changed:
What|Removed |Added
CC||e...@gnuk.net
---
http://d.puremagic.com/issues/show_bug.cgi?id=4729
Andrei Alexandrescu and...@metalanguage.com changed:
What|Removed |Added
Status|NEW |ASSIGNED
http://d.puremagic.com/issues/show_bug.cgi?id=4729
bearophile_h...@eml.cc changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
http://d.puremagic.com/issues/show_bug.cgi?id=4729
--- Comment #2 from Max Klyga necrom...@gmail.com 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:
10 matches
Mail list logo