Actions
Bug #11754
closedVisibility scope is kept after lexical scope is closed
Bug #11754:
Visibility scope is kept after lexical scope is closed
Description
Actions
Added by printercu (Max Melentiev) almost 11 years ago. Updated almost 11 years ago.
Description
To provide some context, this creates issues with two gems I am using that have dynamically defined methods (that now seems to be incorrectly private in 2.3.0preview1) :
really_destroy! method defined in https://github.com/rubysherpas/paranoia/blob/rails4/lib/paranoia.rb#L185-L190)Applied in changeset r52996.
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.