Issue #13516 has been updated by mrkn (Kenta Murata).

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-66357

* 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>