Project

General

Profile

Actions

Bug #2730

closed

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

Added by brixen (Brian Shirai) about 14 years ago. Updated almost 13 years ago.

Status:
Closed
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

Actions #1

Updated by nobu (Nobuyoshi Nakada) about 14 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

Also available in: Atom PDF

Like0
Like0