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.
on 2013-03-22 23:54
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.