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



--- Comment #5 from bearophile_h...@eml.cc 2010-08-19 17:44:23 PDT ---
Throwing? No, look at Python:

>>> range(1, 0)
[]

It needs to return an empty range.

This:
foreach (i; iota(1, 0))
is the same as:
foreach (i; 1 .. 0)
Or:
for (int i = 1; i < 0; i++)

It's like an empty loop.

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

Reply via email to