[Issue 13390] [REG2.066] std.range.cycle ctor fails when empty input passed
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Oct 6 17:25:40 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13390
--- Comment #8 from hsteoh at quickfur.ath.cx ---
I'm surprised this worked in older releases. Or *appears* to work -- it's
probably actually broken because cycle() returns an infinite range, but when
the input is empty, it can't be an infinite range. So this is one of those
places where the compile-time requirement of isInfinite breaks down.
--
More information about the Digitalmars-d-bugs
mailing list