Project

General

Profile

Actions

Bug #3756

closed

Clarify Error Message for Frozen $LOADED_FEATURES

Added by runpaint (Run Paint Run Run) over 13 years ago. Updated almost 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.3dev (2010-08-28 trunk 29127) [i686-linux]
Backport:
[ruby-core:31913]

Description

=begin
If $LOADED_FEATURES is frozen, require raises a RuntimeError when attempting to append to the Array. Unfortunately, the error message is particularly unhelpful for those unfamiliar with Ruby internals. The attached clarifies that $LOADED_FEATURES is frozen. It assumes that this scenario should continue to be fatal; arguably, a warning is more appropriate.
=end


Files

load.c.patch (404 Bytes) load.c.patch runpaint (Run Paint Run Run), 08/29/2010 05:01 AM
Actions #1

Updated by nobu (Nobuyoshi Nakada) over 13 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
This issue was solved with changeset r29135.
Run Paint, 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