Actions
Bug #11186
closedCan't refine aliases in subclasses
Description
In the following program, D.new.bar returns :original, but should return :refined.
class C
def foo
:original
end
end
class D < C
alias bar foo
end
module M
refine D do
def bar
:refined
end
end
end
using M
p D.new.bar
This bug seemed to be introduced in r45367.
Actions
Like0
Like0Like0Like0