Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions truffle/src/main/ruby/core/type.rb
Original file line number Diff line number Diff line change
@@ -260,8 +260,7 @@ def self.check_funcall_respond_to(obj, meth, priv)
end

def self.check_funcall_missing(recv, meth, args, respond, default)
ret = basic_obj_respond_to_missing(recv, meth, false) #PRIV false
return default unless undefined.equal?(ret) || ret
return default unless basic_obj_respond_to_missing(recv, meth, false) #PRIV false
if object_respond_to_no_built_in?(recv, :method_missing, true)
begin
return recv.__send__(:method_missing, meth) # , args

0 comments on commit 3a85306

Please sign in to comment.