diff options
Diffstat (limited to 'vm_eval.c')
-rw-r--r-- | vm_eval.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -198,8 +198,8 @@ vm_call0_body(rb_thread_t* th, rb_call_info_t *ci, const VALUE *argv) case VM_METHOD_TYPE_REFINED: { const rb_method_type_t type = ci->me->def->type; - if (type == VM_METHOD_TYPE_REFINED && ci->me->def->body.orig_me) { - ci->me = ci->me->def->body.orig_me; + if (type == VM_METHOD_TYPE_REFINED && ci->me->def->body.refined.orig_me) { + ci->me = ci->me->def->body.refined.orig_me; goto again; } |