summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-23 13:57:30 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-23 13:57:30 +0000
commitaadf98f11f6d8c429f91c5ddebdc4dfadeed9395 (patch)
tree8d59da3cf6b9dbd2412440aaecbac7eab9045ac9 /proc.c
parentf0f3821be7507a96e613e6d8e7e675eada78a892 (diff)
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
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proc.c b/proc.c
index 38b5157f16..516007c66d 100644
--- a/proc.c
+++ b/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;