Actions
Bug #19408
closed
Object 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 2 years ago
- Status changed from Open to Assigned
- Assignee set to ko1 (Koichi Sasada)
Updated by luke-gru (Luke Gruber) over 1 year ago
I created a PR for this: https://github.com/ruby/ruby/pull/9996
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
Like0
Like0Like0Like0Like0