This project is closed and read-only.
Actions
Backport #8966
closedSEGV when a refined method is undefined by undef
Backport #8966:
SEGV when a refined method is undefined by undef
Status:
Closed
Assignee:
Description
=begin
The following code causes SEGV:
module Foo
refine Object do
def foo
puts "foo"
end
end
end
using Foo
class Object
undef foo
end
foo
I guess undef is not aware of refinements.
=end
Actions