https://issues.dlang.org/show_bug.cgi?id=21882
--- Comment #2 from Iain Buclaw <[email protected]> --- (In reply to Iain Buclaw from comment #1) > Reduced test that compiles with -preview=dip1000, but not dip1021. Further reduced: --- void buildPath(char[][]) { struct ByCodeUnitImpl { auto opIndex(size_t ) { } } assert(isRandomAccessRange!ByCodeUnitImpl); } enum isRandomAccessRange(R) = is(typeof(lvalueOf!R[1])); ref T lvalueOf(T)(); --- --
