Project

General

Profile

Actions

Bug #19408

closed

Object no longer frozen after moved from a ractor

Added by luke-gru (Luke Gruber) over 2 years ago. Updated 23 days ago.

Status:
Closed
Assignee:
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) over 2 years ago

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

Updated by jhawthorn (John Hawthorn) 23 days ago

  • Assignee changed from ko1 (Koichi Sasada) to ractor

Updated by jhawthorn (John Hawthorn) 23 days ago ยท Edited

  • Status changed from Assigned to Closed

Fixed by a5ba7124bcc112f537a29564f644dea67f2b532d

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0