[ruby-cvs:51160] nobu:r44015 (trunk): array.c: prefer lhs elements

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Dec 5 21:53:32 JST 2013


nobu	2013-12-05 21:53:31 +0900 (Thu, 05 Dec 2013)

  New Revision: 44015

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44015

  Log:
    array.c: prefer lhs elements
    
    * array.c (rb_ary_or): lhs elements are prefered, so should not
      replace with rhs elements.
    * test/ruby/test_array.rb (test_OR_in_order): import the test failed
      by r43969 from rubyspec/core/array/union_spec.rb.

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


More information about the ruby-cvs mailing list