summaryrefslogtreecommitdiff
path: root/vm_method.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_method.c')
-rw-r--r--vm_method.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vm_method.c b/vm_method.c
index 6b2eaf8f1b..d5513327c0 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -333,6 +333,8 @@ rb_method_entry_make(VALUE klass, ID mid, rb_method_type_t type,
rb_unlink_method_entry(old_me);
}
+ mid = SYM2ID(ID2SYM(mid));
+
me = ALLOC(rb_method_entry_t);
rb_clear_method_cache_by_class(klass);