http://d.puremagic.com/issues/show_bug.cgi?id=6222
Summary: A problem with iota() using size_t Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: bearophile_h...@eml.cc --- Comment #0 from bearophile_h...@eml.cc 2011-06-29 13:33:50 PDT --- With DMD 2.053 this apparently goes in infinite loop: import std.range; void main() { string s; foreach (i; iota(0, s.length, 3)) {} } What I expect: the foreach loop to loop zero times instead. See also bug 4603 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------