Actions
Bug #2730
closedSome methods still failing to raise RuntimeError when a frozen object would not be modified
Description
=begin
Per matz's request in [ruby-core:23714], this ticket is for the methods that are still not raising a RuntimeError when called on a frozen object that would not be modified.
Array#concat
Array#flatten!
Array#insert
Array#uniq!
Array#unshift
Hash#initialize_copy
Hash#replace
String#replace
These failures can be seen running RubySpec HEAD. They were previously masked by improper ruby_bug guards.
Thanks,
Brian
=end
Updated by nobu (Nobuyoshi Nakada) almost 15 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
This issue was solved with changeset r26632.
Brian, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
Actions
Like0
Like0