-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
using warning: set off module and method names
Adds quotes to new warning added in 9c0b9bf.
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
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
ec99e37
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I appreciate the sentiment, but this change is not done very well. First of all, there are many messages like this, and now this is the only one that uses quotes. Second, all other messages that quote identifier names and such use double quotes, not backticks. We should use consistent formatting.
Also, is this message really so incomprehensible without quotes?
ec99e37
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found it difficult to read. It is not the only message with quotes like that; there is another one in the output from @IainNZ:
Also I just realized that
WARNING
is capitalized differently in that message than in this one.Feel free to revert it because it was supposed to be a pull request anyways, and GitHub decided to ignore that and directly commit it.
ec99e37
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The garden path reading that led to this, er, forceful request? was
"Surely, that should be 'contains export'...wait, no, 'contains' is a method name."
ec99e37
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't believe that other warning is in Base.
Yes, I agree the identifier should be quoted, especially since it's often lowercase.
ec99e37
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Roger that.
ec99e37
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The other warning is from Docile, it appears.