Why does is the RandomAccessInfinite interface not a valid RandomAccessRange?

D Lark dlark at example.com
Sat Dec 18 19:48:00 UTC 2021

The following assertion fails:
Whereas this one passes:

I have compiled this using dmd v2.098.0.

Can someone please tell me if this is expected behaviour and what 
the reasoning is behind this choice?

More information about the Digitalmars-d-learn mailing list