Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -101,8 +101,8 @@ public RubyHash executeRubyHash(VirtualFrame frame) {

final Object value = keyValues[n + 1].execute(frame);

for (int i = 0; i < end; i += 2) {
if (equalNode.call(frame, key, "eql?", null, storage[i])) {
for (int i = 0; i < n; i += 2) {
if (n < end && equalNode.call(frame, key, "eql?", null, storage[i])) {
storage[i + 1] = value;
continue initializers;
}

0 comments on commit 89dd640

Please sign in to comment.