[ruby-core:112207] [Ruby master Bug#19408] Object no longer frozen after moved from a ractor
3 Feb
2023
3 Feb
'23
7:55 p.m.
Issue #19408 has been reported by luke-gru (Luke Gruber). ---------------------------------------- Bug #19408: Object no longer frozen after moved from a ractor https://bugs.ruby-lang.org/issues/19408 * Author: luke-gru (Luke Gruber) * Status: Open * Priority: Normal * Backport: 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN ---------------------------------------- I think frozen objects should still be frozen after a move. ```ruby 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 ``` -- https://bugs.ruby-lang.org/
88
Age (days ago)
913
Last active (days ago)
3 comments
3 participants
participants (3)
-
hsbt (Hiroshi SHIBATA)
-
jhawthorn (John Hawthorn)
-
luke-gru (Luke Gruber)