Project

General

Profile

Bug #18237 » Remove-unnecessary-checks-in-Range-each-Bug-18237.patch

YARV patch - jwmittag (Jörg W Mittag), 10/03/2021 12:09 PM

View differences:

range.c
static int
discrete_object_p(VALUE obj)
{
if (rb_obj_is_kind_of(obj, rb_cTime)) return FALSE; /* until Time#succ removed */
return rb_respond_to(obj, id_succ);
}
(1-1/2)