Project

General

Profile

« Previous | Next » 

Revision 18f605a2

Added by naruse (Yui NARUSE) over 10 years ago

merge revision(s) 44380: [Backport #9296]

    * proc.c (rb_mod_define_method): consider visibility only if self
      in the caller is same as the receiver, otherwise make public as
      well as old behavior.  [ruby-core:57747] [Bug #9005]
      [ruby-core:58497] [Bug #9141]

    * vm.c (rb_vm_cref_in_context): return ruby level cref if self is
      same.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@44410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e