[ruby-cvs:72096] nagachika:r64996 (ruby_2_5): merge revision(s) 63030: [Backport #14639]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Thu Oct 11 22:51:20 JST 2018


nagachika	2018-10-11 22:51:19 +0900 (Thu, 11 Oct 2018)

  New Revision: 64996

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

  Log:
    merge revision(s) 63030: [Backport #14639]
    
    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 directories:
    branches/ruby_2_5/
  Modified files:
    branches/ruby_2_5/array.c
    branches/ruby_2_5/test/ruby/test_array.rb
    branches/ruby_2_5/version.h


More information about the ruby-cvs mailing list