https://issues.dlang.org/show_bug.cgi?id=22608
Dlang Bot <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Dlang Bot <[email protected]> --- @pbackus created dlang/phobos pull request #8338 "Fix issue 22608 - RandomAccessInfinite is not a valid random-access range" fixing this issue: - Fix issue 22608 - RandomAccessInfinite is not a valid random-access range Previously, isInfinite!(RandomAccessInfinite!T) would always evaluate to false, because the 'empty' method inherited from InputRange could not be evaluated at compile time. Since isRandomAccessRange!R requires (isBidirectionalRange!R || isInfinite!R), this meant that RandomAccessInfinite!T was not recognized as a random-access range. https://github.com/dlang/phobos/pull/8338 --
