[Issue 22488] data should work with const/immutable Array's

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 8 05:34:15 UTC 2021


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

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

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

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/phobos pull request #8311 "Fix 22488 - Add inout to allow Array.data for
const/immutable Array's" was merged into stable:

- b124dc2d07d93ed30de448095afae1889d1ec627 by MoonlightSentinel:
  Fix 22488 - Add inout to allow Array.data for const/immutable Array's

  Simply propagate the const'ness to the return slice.

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

--


More information about the Digitalmars-d-bugs mailing list