[Issue 4729] std.algorithm: strange iota behaviour

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 1 13:21:40 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=4729


Brad Anderson <eco at gnuk.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eco at gnuk.net


--- Comment #3 from Brad Anderson <eco at gnuk.net> 2012-02-01 13:21:38 PST ---
2.057 seems to handle this situation (trying to reduce an empty range but not
offering a seed) by throwing an appropriate exception:

object.Exception at C:\D\dmd2\windows\bin\..\..\src\phobos\std\algorithm.d(662):
Cannot reduce an empty range w/o an explicit seed value.

I believe this should be closed. Also, not sure why this is set as an optlink
issue.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list