From: "marcandre (Marc-Andre Lafortune)" Date: 2013-03-23T07:54:32+09:00 Subject: [ruby-core:53653] [ruby-trunk - Bug #8154][Open] Remove/fix rb_check_block_call Issue #8154 has been reported by marcandre (Marc-Andre Lafortune). ---------------------------------------- Bug #8154: Remove/fix rb_check_block_call https://bugs.ruby-lang.org/issues/8154 Author: marcandre (Marc-Andre Lafortune) Status: Open Priority: Normal Assignee: nobu (Nobuyoshi Nakada) Category: core Target version: current: 2.1.0 ruby -v: r39877 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. -- http://bugs.ruby-lang.org/