Project

General

Profile

Bug #19464

Updated by alanwu (Alan Wu) about 1 year ago

Symptoms first experienced and [reported] by users of the `kt-paperclip` gem. 
 Reproducer: 

 ```ruby 
 klass = Class.new do 
   class << self 
     alias_method :my_send, :send 

     def bar = :ok 

     def foo = bar 
   end 
 end 

 with_break = -> { break klass.send(:my_send, :foo) } 
 wo_break = -> { klass.send(:my_send, :foo) } 

 31.times { with_break[]; wo_break[] } 
 ``` 

 Fix: https://github.com/ruby/ruby/pull/7377 Will send a fix for review shortly. 

 [reported]: https://github.com/Shopify/yjit/issues/306 

Back