From: jared@... Date: 2017-05-15T15:55:19+00:00 Subject: [ruby-core:81179] [Ruby trunk Feature#13516] Improve the text of the circular require warning Issue #13516 has been updated by jaredbeck (Jared Beck). Thanks for the response, Robert. It would be great if the error message provided that level of detail. However, that may be difficult to implement. So, maybe we should focus on simply improving the text of the existing warning. My goal is to clarify the meaning of the file at the end of the message. I think my suggested wording achieves this, but I'm open to other suggestions. ---------------------------------------- Feature #13516: Improve the text of the circular require warning https://bugs.ruby-lang.org/issues/13516#change-64832 * 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: