-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix span of private this warning #23947
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Apparently I'm the only one who can't run tests after recent repo changes. |
tests/warn/private-this-3.4.check
Outdated
| -- Warning: tests/warn/private-this-3.4.scala:5:18 --------------------------------------------------------------------- | ||
| | ^^^^^^ | ||
| | Ignoring [this] qualifier. | ||
| | This syntax will be deprecated in the future; it should be dropped. |
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.
[this] syntax ... ?
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.
That was a joke, but maybe you are right.
One must be totally committed to one's craft.
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 added more sober words which I hope are helpful.
We take for granted what "this" and "it" mean in an ordinary sentence, but the reader must perform the substitutions. We can make our meaning more plain by avoiding variables (pronouns) when we can.
2da56bc to
7945798
Compare
noti0na1
left a comment
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.
LGTM
Fixes #23940