This project is closed and read-only.
Actions
Backport #8154
closedRemove/fix rb_check_block_call
Backport #8154:
Remove/fix rb_check_block_call
Status:
Closed
Assignee:
Description
Looking back in the history, I found that commit r36989 (abeedb0875f3) introduced rb_check_block_call, but (1) it uses obsolete rb_iterate and (2) it created a strange bug [#8153].
In r39877, I used rb_respond_to + rb_block_call instead. This way Array#zip is similar to Enumerable#zip and Lazy#zip.
rb_check_block_call should either be removed or fixed to avoid r36989.
Actions