[ruby-cvs:61771] akr:r54609 (trunk): * array.c (rb_ary_sum): Don't yield same element twice.

akr at ruby-lang.org akr at ruby-lang.org
Sat Apr 16 01:26:38 JST 2016


akr	2016-04-16 01:26:38 +0900 (Sat, 16 Apr 2016)

  New Revision: 54609

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

  Log:
    * array.c (rb_ary_sum): Don't yield same element twice.
      Found by nagachika.

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


More information about the ruby-cvs mailing list