Actions
Bug #7732
closedrefinements: super() in define_method => stack level too deep (SystemStackError)
Description
class Any
end
module Bug
refine Any do
define_method :to_s do
super()
end
end
end
using Bug
p Any.new.to_s # stack level too deep (SystemStackError)
other example and workaround solution https://gist.github.com/4603064
Actions
Like0
Like0