https://issues.dlang.org/show_bug.cgi?id=18807
--- Comment #4 from Eyal <e...@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(). --