ruby-changes:65752
From: S.H <ko1@a...>
Date: Sun, 4 Apr 2021 11:35:21 +0900 (JST)
Subject: [ruby-changes:65752] be343946c7 (master): Refactor rb_obj_call_init and rb_obj_call_init_kw (#4351)
https://git.ruby-lang.org/ruby.git/commit/?id=be343946c7 From be343946c76f00393ddbd12a7d7dabb575af0053 Mon Sep 17 00:00:00 2001 From: "S.H" <gamelinks007@g...> Date: Sun, 4 Apr 2021 11:34:51 +0900 Subject: 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 9268773..fb3cab2 100644 --- a/eval.c +++ b/eval.c @@ -1711,8 +1711,7 @@ rb_mod_s_used_modules(VALUE _) https://github.com/ruby/ruby/blob/trunk/eval.c#L1711 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 -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/