[Issue 6531] assertion failure in std.range.iota
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Feb 6 20:27:54 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6531
dawg at dawgfoto.de changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dawg at dawgfoto.de
Depends on| |7455
--- Comment #3 from dawg at dawgfoto.de 2012-02-06 20:27:53 PST ---
The correct fix is to narrow the lhs of the comparison.
assert(cast(Value)(start + count * step) >= end)
It is a common source of bugs that the intermediate 80-bit result is used for
temporaries.
--
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