We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
headius
Learn more about funding links in repositories.
Report abuse
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
MRI:
1.9.3-p551 :001 > [{}].to_enum.take_while(&:empty?) => [{}] 1.9.3-p551 :002 > [{}].to_enum.take_while { |h| h.empty? } => [{}]
JRuby:
jruby-1.7.19 :001 > [{}].to_enum.take_while { |h| h.empty? } => [{}] jruby-1.7.19 :002 > [{}].to_enum.take_while(&:empty?) => [nil]
Why [nil]?
[nil]
The text was updated successfully, but these errors were encountered:
Hi @marshall-lee !
This is a bug and has been fixed in JRuby 1.7.21. Verified just now 😄
#2907
Sorry, something went wrong.
donv
No branches or pull requests
MRI:
JRuby:
Why
[nil]
?The text was updated successfully, but these errors were encountered: