[ruby-cvs:66233] nobu:r59056 (trunk): enumerator.c: fix nested maps

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Jun 10 19:26:33 JST 2017


nobu	2017-06-10 19:26:32 +0900 (Sat, 10 Jun 2017)

  New Revision: 59056

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59056

  Log:
    enumerator.c: fix nested maps
    
    * enumerator.c (lazy_map_proc, lazy_grep_iter_proc): marks values
      returned by blocks are not packed in the case of nested maps, so
      that the result will be same as non-lazy version.  based on the
      patch by akihikodaki (Akihiko Odaki) at [ruby-core:81638],
      without GCC extension.  [Bug#13648]

  Modified files:
    trunk/enumerator.c
    trunk/test/ruby/test_lazy_enumerator.rb


More information about the ruby-cvs mailing list