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

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

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

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

* Author: jaredbeck (Jared Beck)
* Status: Assigned
* Priority: Normal
* Assignee: nobu (Nobuyoshi Nakada)
* 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