April 28, 2019
https://issues.dlang.org/show_bug.cgi?id=19777

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

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

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@MartinNowak created dlang/phobos pull request #6984 "fix Issue 19777 - SortedRange.opSlice should infer safety" fixing this issue:

- 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

--
April 28, 2019
https://issues.dlang.org/show_bug.cgi?id=19777

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

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

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
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

--