
Issue #19341 has been updated by naruse (Yui NARUSE). This breaks CI on ruby_3_2 branch https://github.com/nurse/ruby/commit/ec9a6ae3f6961b0ece1a6fc67ea26033ee91498... ---------------------------------------- Bug #19341: Write cache issue with class variables https://bugs.ruby-lang.org/issues/19341#change-101456 * Author: luke-gru (Luke Gruber) * Status: Closed * Priority: Normal * Backport: 2.7: DONTNEED, 3.0: DONTNEED, 3.1: DONTNEED, 3.2: REQUIRED ---------------------------------------- ``` ruby class SetCvar def self.set(val) @@a = val # inline cache end end def test_set_cvar_on_frozen_object SetCvar.set(1) # fill write cache SetCvar.freeze SetCvar.set(2) # hit write cache, but should check frozen status end test_set_cvar_on_frozen_object() ``` PR Here: https://github.com/ruby/ruby/pull/7124 -- https://bugs.ruby-lang.org/