Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix behaviour of Enumerator#with_index with block #2153

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

herwinw
Copy link
Member

@herwinw herwinw commented Jun 26, 2024

Fixes #2150

@herwinw herwinw self-assigned this Jun 26, 2024
@herwinw
Copy link
Member Author

herwinw commented Jun 26, 2024

Mental note: this added spec file is called each_with_index_spec.rb, but includes a few specs for Enumerator#with_index. This should probably be fixed upstream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Calling with_index with a block on an enumerator results in the wrong output type
1 participant