Project

General

Profile

Actions

Bug #19408

open

Object no longer frozen after moved from a ractor

Added by luke-gru (Luke Gruber) almost 2 years ago. Updated 9 months ago.

Status:
Assigned
Target version:
-
[ruby-core:112207]

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
Actions

Also available in: Atom PDF

Like0
Like0Like0