Skip to content

Commit

Permalink
Apply changes from master
Browse files Browse the repository at this point in the history
  • Loading branch information
ssnickolay committed Jan 29, 2021
1 parent 7212c97 commit f8b9429
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ protected RubyMethod getMethodObject(Frame frame, Object self, Object name,

final String normalizedName = nameToJavaStringNode.execute(name);
InternalMethod method = lookupMethodNode
.lookup(frame, self, normalizedName, dispatchConfig);
.execute(frame, self, normalizedName, dispatchConfig);

if (notFoundProfile.profile(method == null)) {
final Object respondToMissing = respondToMissingNode
Expand All @@ -90,7 +90,7 @@ protected RubyMethod getMethodObject(Frame frame, Object self, Object name,
/** refinements should not affect BasicObject#method_missing */
RubyArguments.setDeclarationContext(frame, originalDeclarationContext);
final InternalMethod methodMissing = lookupMethodNode
.lookup(frame, self, "method_missing", dispatchConfig);
.execute(frame, self, "method_missing", dispatchConfig);
method = createMissingMethod(self, name, normalizedName, methodMissing, context);
} else {
throw new RaiseException(
Expand Down

0 comments on commit f8b9429

Please sign in to comment.