From: marcandre-ruby-core@... Date: 2020-12-01T04:40:32+00:00 Subject: [ruby-core:101172] [Ruby master Bug#17343] Ractor can't clone frozen structures Issue #17343 has been updated by marcandre (Marc-Andre Lafortune). Status changed from Closed to Open Cool. You'll need to do the same for strings though... ```ruby $ ruby -e 'Ractor.new(String.new.instance_eval { @x = []; freeze}){}' :38:in `new': can't modify frozen #>: "" (FrozenError) from -e:1:in `
' ``` ---------------------------------------- Bug #17343: Ractor can't clone frozen structures https://bugs.ruby-lang.org/issues/17343#change-88858 * Author: marcandre (Marc-Andre Lafortune) * Status: Open * Priority: Normal * Assignee: ko1 (Koichi Sasada) * Target version: 3.0 * ruby -v: ruby 3.0.0dev (2020-11-26T00:37:38Z master af80df1820) [x86_64-darwin17] * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN ---------------------------------------- ```ruby Ractor.new([[]].freeze) {} # => FrozenError ``` See https://github.com/ruby/ruby/pull/3817 -- https://bugs.ruby-lang.org/ Unsubscribe: