-
-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reword Zeitwerk::NameError message again
I am sleeping on this one and trying different options. The previous revision lacked symmetry for my taste, because if you say "the top-level constant X", when there is a namespace "M::N", why is that "M" not qualified as top-level? The answer is that an error message is not a constant lookup, it is by convention relative to the top-level namespace. But then, the messages for simple and compound constant paths lack symmetry. This alternative is more coherent, and also matches the way you think about project layouts. You define constants in namespaces represented by directories. Let's try this one now.
- Loading branch information
Showing
3 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters