Project

General

Profile

Actions

Feature #13516

open

Improve the text of the circular require warning

Added by jaredbeck (Jared Beck) over 7 years ago. Updated about 7 years ago.

Status:
Assigned
Target version:
-
[ruby-core:80912]

Description

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!

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0