[ruby-cvs:68542] nagachika:r61361 (ruby_2_4): merge revision(s) 57649, 57651: [Backport #13222]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Wed Dec 20 23:53:56 JST 2017


nagachika	2017-12-20 23:53:56 +0900 (Wed, 20 Dec 2017)

  New Revision: 61361

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

  Log:
    merge revision(s) 57649,57651: [Backport #13222]
    
    array.c: finish_exact_sum
    
    * array.c (finish_exact_sum): extract duplicate code from
      rb_ary_sum.
    
    array.c: check if numeric
    
    * array.c (finish_exact_sum): add 0 and the initial value to check
      if the latter is numeric.  [ruby-core:79572] [Bug #13222]

  Modified directories:
    branches/ruby_2_4/
  Modified files:
    branches/ruby_2_4/array.c
    branches/ruby_2_4/test/ruby/test_array.rb
    branches/ruby_2_4/version.h


More information about the ruby-cvs mailing list