Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix fat-finger and also include values in Hash hash.
Browse files Browse the repository at this point in the history
headius committed May 16, 2016
1 parent 4101c6a commit 9530b33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/RubyHash.java
Original file line number Diff line number Diff line change
@@ -1248,7 +1248,7 @@ public RubyFixnum hash() {
@Override
public void visit(IRubyObject key, IRubyObject value) {
hval[0] += Helpers.safeHash(context, key).convertToInteger().getLongValue()
^ Helpers.safeHash(context, key).convertToInteger().getLongValue();
^ Helpers.safeHash(context, value).convertToInteger().getLongValue();
}
});
}

0 comments on commit 9530b33

Please sign in to comment.