Ox: Flow.range with a negative step emits only the first element

Fixed · medium · Wrong-result bug

If the step is negative, the loop continues while t is at most the end value. range(5, 1, -1) stops after 5, but range(1, 5, -1) does not stop until Int overflow.

Found: ; reported: ; status since: . Reporter: Mike Murunov

Page for this report · Public report · Fix or proposed fix (see status)

Thanks for the report - PRs welcome!

Open in the showcase. Record generated .