Actions
Bug #11754
closedVisibility scope is kept after lexical scope is closed
Description
module X
def self.test_def
def x; end;
end
private
def y; end;
end
X.test_def
X.instance_methods
In 2.2 it returns [:x], in 2.3-preview1 it returns empty array. Is it ok?
Actions
Like0
Like0Like0Like0Like0Like0Like0