[Issue 6222] A problem with iota() using size_t

2012-04-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6222 Brad Anderson changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 6222] A problem with iota() using size_t

2012-04-22 Thread d-bugmail
/6b92abb0449e6af80f68beb9fa1311346397bfaf fix Issue 6222 - A problem with iota() using size_t If the common type of begin and end is unsigned and end is 0 the private member pastEnd ends up being unsigned.max due to "pastEnd - 1" (used to make end not inclusive) which results in iota behaving incorrectly. A simple change

[Issue 6222] A problem with iota() using size_t

2012-04-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6222 Brad Anderson changed: What|Removed |Added CC||e...@gnuk.net --- Comment #1 from Brad