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

Dlang Bot <[email protected]> changed:

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

--- Comment #1 from Dlang Bot <[email protected]> ---
@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

--

Reply via email to