Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/RubyFixnum.java
Original file line number Diff line number Diff line change
@@ -1149,7 +1149,7 @@ public IRubyObject op_xor(ThreadContext context, IRubyObject other) {
return context.runtime.newFixnum(value ^ ((RubyFixnum) other).value);
}
if (other instanceof RubyBignum) {
return ((RubyBignum) other).op_and(context, this);
return ((RubyBignum) other).op_xor(context, this);
}
return coerceBit(context, sites(context).checked_op_xor, other);
}

0 comments on commit f8e478d

Please sign in to comment.