[Issue 24348] Inaccurate documentation for hasSlicing with infinite range

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 20 23:53:15 UTC 2024


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

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 #8898 "Update docs for hasSlicing with inifnite
range" was merged into master:

- c00c9acf95a94faa40d53a62cf1f8565b887efee by Paul Backus:
  Update docs for hasSlicing with inifnite range

  The requirement for opSlice on an infinite range to return the result of
  take or takeExactly was removed in commit c828a08b64, which was included
  in Phobos 2.067.0, released in March 2015. However, the documentation
  was never updated to take this change into account.

  This change updates the documentation and adds a unit test for the "new"
  behavior.

  Fixes bugzilla issue 24348.

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

--


More information about the Digitalmars-d-bugs mailing list