Bug #2730: Some methods still failing to raise RuntimeError when a frozen object would not be modified
http://redmine.ruby-lang.org/issues/show/2730

Author: Brian Ford
Status: Open, Priority: Normal
Category: core, Target version: 1.9.2
ruby -v: ruby 1.9.2dev (2010-02-09 trunk 26627) [i386-darwin9.8.0]

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


----------------------------------------
http://redmine.ruby-lang.org