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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jul 7 15:38:29 UTC 2022


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/phobos pull request #8495 "Fix Issue 18631 - std.random.choice does not
work with const arrays" was merged into master:

- ee474f0cfc543e844bcbcf96a0da17fc3bf8c8f4 by Grim Maple:
  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