[Issue 18807] RefRange behaves very differently for Input Ranges and Forward Ranges

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Apr 30 13:01:41 UTC 2018


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

--- Comment #4 from Eyal <eyal at weka.io> ---
Indeed, and both are worth fixing.

So I think it makes sense to keep these 2 issues:

issue 14619 should fix compiler's foreach behavior (calling opSlice
unnecessarily)

this issue should fix RefRange in phobos, to avoid defining opSlice().

--


More information about the Digitalmars-d-bugs mailing list