aboutsummaryrefslogtreecommitdiffstats
path: root/enumerator.c
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2023-06-21 09:44:30 -0700
committerJeremy Evans <code@jeremyevans.net>2023-06-24 08:41:32 -0700
commita14915ca4baae40f08d288a38b8bfb595500ad90 (patch)
treeda46d04bb7e32a5be8024db9f0a40b64e19ce627 /enumerator.c
parentc94b5f121dae49b931349ec60da243f98c8e3d82 (diff)
downloadruby-a14915ca4baae40f08d288a38b8bfb595500ad90.tar.gz
Do not have Enumeratory::Lazy#zip mark result as packed
Fixes [Bug #19569]
Diffstat (limited to 'enumerator.c')
-rw-r--r--enumerator.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/enumerator.c b/enumerator.c
index b33c171371..1058e331bb 100644
--- a/enumerator.c
+++ b/enumerator.c
@@ -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;
}