[ruby-cvs:66306] nobu:r59128 (trunk): Fix Enumerable#uniq with non single yield arguments

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Jun 21 11:25:27 JST 2017


nobu	2017-06-21 11:25:27 +0900 (Wed, 21 Jun 2017)

  New Revision: 59128

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

  Log:
    Fix Enumerable#uniq with non single yield arguments
    
    * enum.c (uniq_func, uniq_iter): need packed value as the unique
      key.  [ruby-core:81734] [Bug #13669] [Fix GH-1658]
    
    Author:    Kenichi Kamiya <kachick1 at gmail.com>

  Modified files:
    trunk/enum.c
    trunk/test/ruby/test_enum.rb


More information about the ruby-cvs mailing list