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

Hash#hash fails when keys & values are the same #1590

kerinin opened this Issue Mar 28, 2014 · 0 comments


None yet
4 participants
Copy link

kerinin commented Mar 28, 2014

Using jruby-1.7.9 in 1.9-mode built from ruby-build on OSX.

{:foo => :foo}.hash                # => 1
{:bar => :bar}.hash                # => 1
{:foo => :foo, :bar => :bar}.hash  # => 2
{:baz => :baz, :qux => :qux}.hash  # => 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.