Skip to content
Prev Previous commit
Next Next commit
Actually iterate over keywords 🙄
  • Loading branch information
headius committed Apr 9, 2026
commit 217b104b58438ded8c233dcab1da4e12891f80ca
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/ir/targets/JVMVisitor.java
Original file line number Diff line number Diff line change
Expand Up @@ -1369,7 +1369,7 @@ private void compileCallWithKeywords(IRBytecodeAdapter m, CallBase call) {

// compile keyword values, which will be all literals or loads
for (int i = 0; i < keywords.pairs.length; i++) {
var pair = keywords.pairs[0];
var pair = keywords.pairs[i];
callArguments.add(
new CallArgument(callArguments.size(), CallArgument.Type.KEYWORD, new Identifier(((Symbol) pair.getKey()).getSymbol().idString())));
visit(pair.getValue());
Expand Down
Loading