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
@@ -1548,7 +1548,7 @@ public boolean doesRespondToString(VirtualFrame frame, Object object, DynamicObj
if (ret) {
return true;
} else if (dispatchRespondToMissing.doesRespondTo(frame, "respond_to_missing?", object)) {
return respondToMissing(frame, object, name, includeProtectedAndPrivate);
return respondToMissing(frame, object, getSymbol(StringOperations.rope(name)), includeProtectedAndPrivate);
} else {
return false;
}

1 comment on commit 7b7b1ef

@bjfish
Copy link
Contributor

@bjfish bjfish commented on 7b7b1ef Aug 30, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes an assertion found in jt run test/jruby/test_respond_to.rb

Please sign in to comment.