summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
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;