From 37f9213f8957e0c6dffee7d8803890907f97bdbb Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Thu, 26 Sep 2019 09:10:42 -0700 Subject: Fix keyword argument separation issues in Enumerator::Generator#each This requires adding rb_proc_call_kw to pass the keyword flag. --- include/ruby/intern.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/ruby/intern.h') diff --git a/include/ruby/intern.h b/include/ruby/intern.h index 4af254d920..14543a9f4d 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -454,6 +454,7 @@ VALUE rb_block_lambda(void); VALUE rb_proc_new(rb_block_call_func_t, VALUE); VALUE rb_obj_is_proc(VALUE); VALUE rb_proc_call(VALUE, VALUE); +VALUE rb_proc_call_kw(VALUE, VALUE, int); VALUE rb_proc_call_with_block(VALUE, int argc, const VALUE *argv, VALUE); VALUE rb_proc_call_with_block_kw(VALUE, int argc, const VALUE *argv, VALUE, int); int rb_proc_arity(VALUE); -- cgit v1.2.3