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
This commit is contained in:
Yukihiro "Matz" Matsumoto
2021-07-10 14:15:43 +09:00
parent ce6319af61
commit be6d559853
5 changed files with 6 additions and 0 deletions
+1
View File
@@ -1184,6 +1184,7 @@ mrb_str_lines(mrb_state *mrb, mrb_value self)
char *p = b, *t;
char *e = b + RSTRING_LEN(self);
mrb->c->ci->mid = 0;
result = mrb_ary_new(mrb);
ai = mrb_gc_arena_save(mrb);
while (p < e) {