From be6d55985372027684dee628f483d17ff7f284b7 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Sat, 10 Jul 2021 14:15:43 +0900 Subject: Update internal methods not to be listed in backtraces. - String#__lines - Array#__ary_eq - Array#__ary_cmp - Hash#__delete - Kernel#__case_eqq - Integer#__coerce_step_counter --- src/numeric.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/numeric.c') diff --git a/src/numeric.c b/src/numeric.c index 306aab803..a01293286 100644 --- a/src/numeric.c +++ b/src/numeric.c @@ -210,6 +210,7 @@ coerce_step_counter(mrb_state *mrb, mrb_value self) mrb_get_args(mrb, "oo", &num, &step); #ifndef MRB_NO_FLOAT + mrb->c->ci->mid = 0; if (mrb_float_p(self) || mrb_float_p(num) || mrb_float_p(step)) { return mrb_to_float(mrb, self); } -- cgit v1.2.3