[ruby-cvs:70121] nobu:r63030 (trunk): array.c: yield blockarg in collect

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Mar 29 09:05:45 JST 2018


nobu	2018-03-29 09:05:45 +0900 (Thu, 29 Mar 2018)

  New Revision: 63030

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

  Log:
    array.c: yield blockarg in collect
    
    * array.c (rb_ary_collect): yield in block argument semantics
      always to splat array elements to lambda, for the backward
      compatibility.  [ruby-core:86362] [Bug #14639]

  Modified files:
    trunk/array.c
    trunk/test/ruby/test_array.rb


More information about the ruby-cvs mailing list