[ruby-cvs:60149] ko1:r52996 (trunk): * vm.c (rb_vm_cref_in_context): Module#define_method in non-class

ko1 at ruby-lang.org ko1 at ruby-lang.org
Wed Dec 9 16:15:48 JST 2015


ko1	2015-12-09 16:15:48 +0900 (Wed, 09 Dec 2015)

  New Revision: 52996

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

  Log:
    * vm.c (rb_vm_cref_in_context): Module#define_method in non-class
      expression should be public.
      [Bug #11754]
    
    * test/ruby/test_method.rb: add a test.

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_method.rb
    trunk/vm.c


More information about the ruby-cvs mailing list