Project

General

Profile

Bug #21961

Updated by byroot (Jean Boussier) about 1 month ago

```ruby 
 str = "test" 
 arr = [str, str] 

 strings = Marshal.load(Marshal.dump(arr), freeze: true) 

 p strings.map(&:frozen?) # => [true, false] 
 ``` 

 Expected: `[true, true]` 

 Patch: https://github.com/ruby/ruby/pull/16500 

Back