[Issue 24384] roundRobin crashes with empty first argument

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 10 07:33:10 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=24384

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@pbackus created dlang/phobos pull request #8911 "Skip leading empty ranges in
roundRobin" fixing this issue:

- Skip leading empty ranges in roundRobin

  Previously, roundRobin would always attempt to fetch its first element
  from the first range passed to it, even if that range was empty.

  Fixes bugzilla issue 24384.

https://github.com/dlang/phobos/pull/8911

--


More information about the Digitalmars-d-bugs mailing list