[Issue 18631] std.random.choice does not work with const arrays

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jul 5 10:40:14 UTC 2022


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

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

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

--- Comment #5 from Dlang Bot <dlang-bot at dlang.rocks> ---
@GrimMaple created dlang/phobos pull request #8495 "Fix Issue 18631 -
std.random.choice does not work with const arrays" fixing this issue:

- Fix Issue 18631 - std.random.choice does not work with const arrays

  `auto ref` is not needed on `Range` param

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

--


More information about the Digitalmars-d-bugs mailing list