diff options
author | Jeremy Evans <code@jeremyevans.net> | 2019-09-26 09:10:42 -0700 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2019-09-26 15:30:51 -0700 |
commit | 37f9213f8957e0c6dffee7d8803890907f97bdbb (patch) | |
tree | 3f864d0c39f3360d62b8a7c90bbeb1c92823c4eb /include/ruby | |
parent | dd2068ac8d4016f43c1f3cc1aa81decb504db5b6 (diff) |
Fix keyword argument separation issues in Enumerator::Generator#each
This requires adding rb_proc_call_kw to pass the keyword flag.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2491
Diffstat (limited to 'include/ruby')
-rw-r--r-- | include/ruby/intern.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |