mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Do not have Enumeratory::Lazy#zip mark result as packed
Fixes [Bug #19569]
This commit is contained in:
parent
c94b5f121d
commit
a14915ca4b
Notes:
git
2023-06-24 15:41:51 +00:00
2 changed files with 5 additions and 1 deletions
|
@ -2369,7 +2369,6 @@ lazy_zip_arrays_func(VALUE proc_entry, struct MEMO *result, VALUE memos, long me
|
|||
rb_ary_push(ary, rb_ary_entry(RARRAY_AREF(arrays, i), count));
|
||||
}
|
||||
LAZY_MEMO_SET_VALUE(result, ary);
|
||||
LAZY_MEMO_SET_PACKED(result);
|
||||
rb_ary_store(memos, memo_index, LONG2NUM(++count));
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue