[ruby-core:82550] [Ruby trunk Feature#13516][Open] Improve the text of the circular require warning

From: matz@...
Date: 2017-08-31 05:48:22 UTC
List: ruby-core #82550
Issue #13516 has been updated by matz (Yukihiro Matsumoto).

Status changed from Assigned to Open
Assignee deleted (nobu (Nobuyoshi Nakada))

The update of the message is OK.

Matz.


----------------------------------------
Feature #13516: Improve the text of the circular require warning
https://bugs.ruby-lang.org/issues/13516#change-66358

* Author: jaredbeck (Jared Beck)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
----------------------------------------
The warning currently reads:

`loading in progress, circular require considered harmful - /my/file.rb`

I think it would be more helpful like:

`Circular require: Loading of /my/file.rb is already in progress, but require was called again`

I think this is more helpful because it clarifies that /my/file.rb is the problem.

What do you think? Thanks!



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next