Project

General

Profile

Bug #2730

Some methods still failing to raise RuntimeError when a frozen object would not be modified

Added by brixen (Brian Shirai) over 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
ruby -v:
ruby 1.9.2dev (2010-02-09 trunk 26627) [i386-darwin9.8.0]
Backport:
[ruby-core:28140]

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

History

#1

Updated by nobu (Nobuyoshi Nakada) over 9 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

Also available in: Atom PDF