Actions
Bug #17780
closedBackport for super_method aliases in ruby 2.7.3 causes Segfault
    Bug #17780:
    Backport for super_method aliases in ruby 2.7.3 causes Segfault
  
Description
This error was discovered while trying to run bundle exec srb init on a new rails project.
Thanks to Peter Zhu for debugging this, finding the breaking commit, and providing a minimum example:
Breaking commit: https://github.com/ruby/ruby/commit/c98aa2db60f43e839d7a82897c22b5ceecbed417
Minimum example:
module Test
  def foo
    puts "hello"
  end
  alias :f :foo
end
method = Test.instance_method(:f)
super_method = method.super_method
Files
Actions
        
        
     Updated by Anonymous
          Updated by Anonymous