mirror of
https://github.com/ruby/ruby.git
synced 2025-09-16 17:14:01 +02:00
merge revision(s) 44198: [Backport #9236]
* proc.c (mnew_from_me): method by respond_to_missing? should be owned by the original class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f0f3821be7
commit
aadf98f11f
4 changed files with 20 additions and 3 deletions
1
proc.c
1
proc.c
|
@ -955,6 +955,7 @@ mnew(VALUE klass, VALUE obj, ID id, VALUE mclass, int scope)
|
|||
def->type = VM_METHOD_TYPE_MISSING;
|
||||
def->original_id = id;
|
||||
def->alias_count = 0;
|
||||
defined_class = klass;
|
||||
|
||||
meb.flag = 0;
|
||||
meb.mark = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue