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 Array shuffle and sample arity checking #6500

Merged
merged 3 commits into from Dec 16, 2020

Conversation

headius
Copy link
Member

@headius headius commented Dec 16, 2020

Fixing shuffle at first for #6499 but sample appears to have the same problem.

@headius headius added this to the JRuby 9.2.15.0 milestone Dec 16, 2020
@headius
Copy link
Member Author

headius commented Dec 16, 2020

This fixes the missing arity error for shuffle and sample but I did not add any specs for these error conditions.

Also fix splitting of shuffle
@headius headius merged commit 9605d68 into jruby:master Dec 16, 2020
@headius
Copy link
Member Author

headius commented Dec 16, 2020

Well crap, that was supposed to go to 9.2. I will cherry-pick I guess.

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.

Array shuffle method should fail if prng is passed without being a named argument
1 participant