[ruby-cvs:56797] naruse:r49647 (ruby_2_2): merge revision(s) 49480, 49493: [Backport #10765]

naruse at ruby-lang.org naruse at ruby-lang.org
Thu Feb 19 16:19:34 JST 2015


naruse	2015-02-19 16:19:33 +0900 (Thu, 19 Feb 2015)

  New Revision: 49647

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

  Log:
    merge revision(s) 49480,49493: [Backport #10765]
    
    * vm_method.c (remove_method): When remove refined
      method, raise a NameError if the method is not
      defined in refined class.
    
      But if the method is defined in refined class,
      it should keep refined method and remove original
      method.
      
      Patch by Seiei Higa. [ruby-core:67722] [Bug #10765]
    
    * class.c (method_entry_i, class_instance_method_list,
      rb_obj_singleton_methods): should not include methods of
      superclasses if recur is false. [ruby-dev:48854] [Bug #10826]

  Modified directories:
    branches/ruby_2_2/
  Modified files:
    branches/ruby_2_2/ChangeLog
    branches/ruby_2_2/test/ruby/test_refinement.rb
    branches/ruby_2_2/version.h
    branches/ruby_2_2/vm_method.c


More information about the ruby-cvs mailing list