[ruby-cvs:50232] shugo:r43090 (trunk): * vm_method.c (rb_undef): raise a NameError if the original method

shugo at ruby-lang.org shugo at ruby-lang.org
Mon Sep 30 10:49:22 JST 2013


shugo	2013-09-30 10:49:21 +0900 (Mon, 30 Sep 2013)

  New Revision: 43090

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

  Log:
    * vm_method.c (rb_undef): raise a NameError if the original method
      of a refined method is not defined.
    
    * vm_insnhelper.c (rb_method_entry_eq): added NULL check to avoid SEGV.
    
    * test/ruby/test_refinement.rb: related test.

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


More information about the ruby-cvs mailing list