Skip to content

Commit bfd1366

Browse files
committed
Fix typo: IMPLICT -> IMPLICIT
1 parent 83b4dba commit bfd1366

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

core/src/main/java/org/jruby/ir/Operation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public enum Operation {
5151
RECV_OPT_ARG(OpFlags.f_is_arg_receive),
5252
RECV_RUBY_EXC(OpFlags.f_is_arg_receive),
5353
RECV_JRUBY_EXC(OpFlags.f_is_arg_receive),
54-
LOAD_IMPLICT_CLOSURE(OpFlags.f_is_arg_receive),
54+
LOAD_IMPLICIT_CLOSURE(OpFlags.f_is_arg_receive),
5555
LOAD_FRAME_CLOSURE(OpFlags.f_is_arg_receive),
5656

5757
/** Instruction to reify an passed-in block to a Proc for def foo(&b) */

core/src/main/java/org/jruby/ir/instructions/LoadImplicitClosureInstr.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public class LoadImplicitClosureInstr extends Instr implements ResultInstr, Fixe
1717
private Variable result;
1818

1919
public LoadImplicitClosureInstr(Variable result) {
20-
super(Operation.LOAD_IMPLICT_CLOSURE);
20+
super(Operation.LOAD_IMPLICIT_CLOSURE);
2121

2222
assert result != null : "LoadImplicitClosureInstr result is null";
2323

core/src/main/java/org/jruby/ir/interpreter/Interpreter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ private static void receiveArg(ThreadContext context, Instr i, Operation operati
252252
case RECV_JRUBY_EXC:
253253
setResult(temp, currDynScope, instr.getResult(), exception);
254254
return;
255-
case LOAD_IMPLICT_CLOSURE:
255+
case LOAD_IMPLICIT_CLOSURE:
256256
setResult(temp, currDynScope, instr.getResult(), block);
257257
return;
258258
case LOAD_FRAME_CLOSURE:

0 commit comments

Comments
 (0)