[ruby-cvs:69879] nobu:r62725 (trunk): Fix setting method visibility on method wrapped with prepend

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Mar 12 15:54:43 JST 2018


nobu	2018-03-12 15:54:43 +0900 (Mon, 12 Mar 2018)

  New Revision: 62725

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

  Log:
    Fix setting method visibility on method wrapped with prepend
    
    Ignore prepended modules when looking for already defined methods on a
    class to set the visibility on.
    [Fix GH-1834]
    
    From: Dylan Thacker-Smith <Dylan.Smith at shopify.com>

  Modified files:
    trunk/spec/ruby/core/module/private_spec.rb
    trunk/test/ruby/test_module.rb
    trunk/vm_method.c


More information about the ruby-cvs mailing list