Skip to content

Commit

Permalink
required kwargs JITing was still using getName and expecting a string…
Browse files Browse the repository at this point in the history
…. Last

failure in spec:compiler.
  • Loading branch information
enebo committed Apr 15, 2018
1 parent 6900362 commit 1ac0693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/ir/targets/JVMVisitor.java
Expand Up @@ -1718,7 +1718,7 @@ public void PushMethodBindingInstr(PushMethodBindingInstr pushbindinginstr) {
@Override
public void RaiseRequiredKeywordArgumentErrorInstr(RaiseRequiredKeywordArgumentError instr) {
jvmMethod().loadContext();
jvmAdapter().ldc(instr.getName());
jvmAdapter().ldc(instr.getId());
jvmMethod().invokeIRHelper("newRequiredKeywordArgumentError", sig(RaiseException.class, ThreadContext.class, String.class));
jvmAdapter().athrow();
}
Expand Down

0 comments on commit 1ac0693

Please sign in to comment.