[Issue 6531] assertion failure in std.range.iota

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 5 10:34:44 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=6531



--- Comment #4 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-04-05 10:34:42 PDT ---
(In reply to comment #3)
> The correct fix is to narrow the lhs of the comparison.
> assert(cast(Value)(start + count * step) >= end)

That doesn't fix the issue. 

Yao Gomez'es solution does, but I don't know if it's a proper solution.

Yao, you could try making a pull request and see if you get more comments on
github. Issue 9877 might be a duplicate too.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list