Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
recently i noticed that an exception is thrown with something like
0.step 0, 10, {}
i checked the dgm (version 1.7.0 i think) and found that self and to equality is never considered as a possibility.
i believe it should just do nothing like, say
(0..<0).step 10, {}
or
for (int i=0; i<0; i++) {}