mirror of
https://github.com/ruby/ruby.git
synced 2025-08-16 05:59:00 +02:00
* enumerator.c: Fix size for Enumerator::Lazy#flat_map
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1f4c792072
commit
62e67609b6
3 changed files with 7 additions and 3 deletions
|
@ -1486,7 +1486,7 @@ lazy_flat_map(VALUE obj)
|
|||
|
||||
return lazy_set_method(rb_block_call(rb_cLazy, id_new, 1, &obj,
|
||||
lazy_flat_map_func, 0),
|
||||
Qnil, lazy_receiver_size);
|
||||
Qnil, 0);
|
||||
}
|
||||
|
||||
static VALUE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue