[ruby-cvs:50038] nobu:r42896 (trunk): vm_method.c: clear cache after refine method

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Sep 9 16:56:03 JST 2013


nobu	2013-09-09 16:56:02 +0900 (Mon, 09 Sep 2013)

  New Revision: 42896

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

  Log:
    vm_method.c: clear cache after refine method
    
    * vm_method.c (rb_add_refined_method_entry): clear cache in the
      refined class since refining a method entry is modifying the class.
      [ruby-core:57079] [Bug #8880]

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_refinement.rb
    trunk/vm_method.c


More information about the ruby-cvs mailing list