[Issue 13390] [REG2.066] std.range.cycle ctor fails when empty input passed

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Oct 7 00:40:37 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=13390

--- Comment #9 from monarchdodra at gmail.com ---
(In reply to Martin Nowak from comment #7)
> When was this bug introduced?

I don't know if it's a bug, but I think I introduced it. I don't remember the
details though.

> Any fix in sight?

I remember having started a fix, and I still have the branch. I thought it
would be as simple as placing an assert, but it turned out asserting in the
constructor is over-eager, yet asserting in front is wasteful.

I need to review what I had written...

--


More information about the Digitalmars-d-bugs mailing list