Actions
Bug #19408
openObject no longer frozen after moved from a ractor
Description
I think frozen objects should still be frozen after a move.
r = Ractor.new do
obj = receive
p obj.frozen? # should be true but is false
p obj
end
obj = [Object.new].freeze
r.send(obj, move: true)
r.take
Updated by hsbt (Hiroshi SHIBATA) over 1 year ago
- Status changed from Open to Assigned
- Assignee set to ko1 (Koichi Sasada)
Updated by luke-gru (Luke Gruber) 6 months ago
I created a PR for this: https://github.com/ruby/ruby/pull/9996
Actions
Like0
Like0Like0