Actions
Bug #21446
openStackOverflow when changing visibility in reopened refinement
Description
class A
def a
:a
end
end
class B < A
end
module R
refine B do
private :a
end
end
module R
refine B do
public :a
end
end
using R
B.new.a # StackOverflow
I would expect it to change the visibility, not to overflow the stack.
Actions
Like0
Like0Like0