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

Closed
kerinin opened this Issue Mar 28, 2014 · 0 comments

Projects

None yet

4 participants

@kerinin
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
@lucasallan lucasallan closed this Apr 26, 2014
@enebo enebo added this to the JRuby 1.7.13 milestone Jun 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment