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 10 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

Updated by hsbt (Hiroshi SHIBATA) almost 2 years ago

  • Status changed from Open to Assigned
  • Assignee set to ko1 (Koichi Sasada)
Actions

Also available in: Atom PDF

Like0
Like0Like0