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 Enumerable#sort_by when #map does not return an array #3593

Merged
merged 2 commits into from Jan 29, 2016

Conversation

asppsa
Copy link
Contributor

@asppsa asppsa commented Jan 29, 2016

See #3592 for a description of the issue fixed here.

The basic example for this is a lazy enumerable.  In this case, #map
returns another lazy enumerable, and this breaks #sort_by
brixen added a commit that referenced this pull request Jan 29, 2016
Fix Enumerable#sort_by when #map does not return an array
@brixen brixen merged commit 74a7dbd into rubinius:master Jan 29, 2016
@brixen
Copy link
Member

brixen commented Jan 29, 2016

Thanks!

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.

None yet

2 participants