From be343946c76f00393ddbd12a7d7dabb575af0053 Mon Sep 17 00:00:00 2001 From: "S.H" Date: Sun, 4 Apr 2021 11:34:51 +0900 Subject: [PATCH] Refactor rb_obj_call_init and rb_obj_call_init_kw (#4351) --- eval.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eval.c b/eval.c index 9268773eff..fb3cab21c1 100644 --- a/eval.c +++ b/eval.c @@ -1711,8 +1711,7 @@ rb_mod_s_used_modules(VALUE _) void rb_obj_call_init(VALUE obj, int argc, const VALUE *argv) { - PASS_PASSED_BLOCK_HANDLER(); - rb_funcallv_kw(obj, idInitialize, argc, argv, RB_NO_KEYWORDS); + rb_obj_call_init_kw(obj, argc, argv, RB_NO_KEYWORDS); } void