diff options
author | Jeremy Evans <[email protected]> | 2024-07-19 13:08:11 -0700 |
---|---|---|
committer | Jeremy Evans <[email protected]> | 2024-07-20 18:16:42 -0700 |
commit | e7dda086170a5eaa037ddd5ebfcdc3aade15a26d () | |
tree | 0285f761c91f693369a503cecd4f1b041b009e81 /enumerator.c | |
parent | 84680dc255f3219da8d07684372d9ee623f7ac04 (diff) |
Do not set Enumerator::Lazy#zip to use packed format
Enumerator#zip yields a single array, not multiple arguments, so Enumerator::Lazy#zip should do the same. Fixes [#20623]
Notes: Merged: https://.com/ruby/ruby/pull/11212
-rw-r--r-- | enumerator.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -2400,7 +2400,6 @@ lazy_zip_func(VALUE proc_entry, struct MEMO *result, VALUE memos, long memo_inde rb_ary_push(ary, v); } LAZY_MEMO_SET_VALUE(result, ary); - LAZY_MEMO_SET_PACKED(result); return result; } |