Project

General

Profile

« Previous | Next » 

Revision 4007da17

Added by nagachika (Tomoyuki Chikanaga) almost 12 years ago

  • enumerator.c (lazy_take_func, lazy_take): multiple calls of
    force/to_a method to Enumerator::Lazy#take should return same
    results. [ruby-dev:45634] [Bug #6428]

  • test/ruby/test_lazy_enumerator.rb (test_take_recycle): add test for
    above.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e