Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -470,7 +470,7 @@ public Object slice(VirtualFrame frame, RubyString string, RubyString matchStr,
includeNode = insert(DispatchHeadNodeFactory.createMethodCall(getContext()));
}

Boolean result = (Boolean) includeNode.call(frame, string, "include?", null, matchStr);
boolean result = includeNode.callBoolean(frame, string, "include?", null, matchStr);

if (result) {
if (dupNode == null) {

0 comments on commit c2bda87

Please sign in to comment.