Inconsistent Iterator::Cycle behavior on 1.7+ #13263
Labels
kind:bug
A bug in the code. Does not apply to documentation, specs, etc.
kind:regression
Something that used to correctly work but no longer works
Bug Report
When using the
Enumerable#zip
method with a cyclical iterator, the cycle gets stuck at the first element after exhausting the array once.Minimal reproduction:
I ran into the issue on Crystal 1.7.3, and it still reproduces on master. I also tried 1.6.2 and 1.0.0, neither of which had the same issue.
The text was updated successfully, but these errors were encountered: