Backport #9296
closed
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r44410.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
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.
Also available in: Atom
PDF
Like0
Like0