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

Dlang Bot <[email protected]> changed:

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

--- Comment #2 from Dlang Bot <[email protected]> ---
dlang/phobos pull request #6984 "fix Issue 19777 - SortedRange.opSlice should
infer safety" was merged into stable:

- 8430584344dc75c715d5db6442ad7aa336837659 by Martin Nowak:
  fix Issue 19777 - SortedRange.opSlice should infer safety

  - unittests did fail with DIP1000 due to missing return scope
    inference in chained range, thus leading to a scope violation
    which prevented `@safe` inference
  - fixed unittests by adding return scope to chain.Result
  - would still fail under dip1000 with other ranges that
    miss return scope on their opSlice
  - should not have any effect on non-DIP1000 usage

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

--

Reply via email to