Skip to content

Commit b707c91

Browse files
committed
Fix bad hash construction part of #1961.
1 parent 66b69de commit b707c91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/jruby/embed/util/CoreConstructors.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public static RubyHash createHash(Ruby runtime, IRubyObject key, IRubyObject val
1818

1919
public static RubyHash createHash(Ruby runtime, IRubyObject key1, IRubyObject value1,
2020
IRubyObject key2, IRubyObject value2) {
21-
RubyHash hash = createHash(runtime, key1, key2);
21+
RubyHash hash = createHash(runtime, key1, value1);
2222

2323
hash.fastASet(key2, value2);
2424

0 commit comments

Comments
 (0)