[Issue 22786] maxElement et al does not support range over immutable

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 25 15:26:48 UTC 2023


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

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

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

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@FeepingCreature created dlang/phobos pull request #8669 "Fix issue 22786:
maxElement over immutable ranges" fixing this issue:

- Fix issue 22786: Add yet another special case to the extremum code, in the
hope that at even when the elements are immutable, at least the ranges will be
assignable.

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

--


More information about the Digitalmars-d-bugs mailing list