Actions
Bug #21961
closedMarshal.load freeze option fail to free linked strings
Bug #21961:
Marshal.load freeze option fail to free linked strings
Description
str = "test"
arr = [str, str]
strings = Marshal.load(Marshal.dump(arr), freeze: true)
p strings.map(&:frozen?) # => [true, false]
Expected: [true, true]
Actions