diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-07-10 14:15:43 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-07-10 14:15:43 +0900 |
| commit | be6d55985372027684dee628f483d17ff7f284b7 (patch) | |
| tree | eede31111826c19e199c140bc507bf80179e8262 /src/numeric.c | |
| parent | ce6319af615842872e2588bffdc7d1860bcc820a (diff) | |
| download | mruby-be6d55985372027684dee628f483d17ff7f284b7.tar.gz mruby-be6d55985372027684dee628f483d17ff7f284b7.zip | |
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
Diffstat (limited to 'src/numeric.c')
| -rw-r--r-- | src/numeric.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |
