Skip to content

Commit

Permalink
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -378,10 +378,6 @@ public Object toTruffle(IRubyObject object) {
final long value = ((org.jruby.RubyFixnum) object).getLongValue();

if (value < Integer.MIN_VALUE || value > Integer.MAX_VALUE) {
if (value < Long.MIN_VALUE || value > Long.MAX_VALUE) {
throw new UnsupportedOperationException();
}

return value;
}

0 comments on commit 49a3dfd

Please sign in to comment.