Actions
Bug #19341
closedWrite cache issue with class variables
Description
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()
Actions
Like0
Like0Like0Like0