-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
'null' should be on the right side of a binary expression. #5590
'null' should be on the right side of a binary expression. #5590
Conversation
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 agree 😄
One thing i'd like to point out is that readability has been reduced on some of the tests where the left nulls were aligned. So it isn't as easy to gather whats going on at a glance. But it does make more sense with this change. |
@Forgind it would be great to get this merged before I start on the parentheses PR. |
Team triage: |
I have no skin in the game, so its really up to the team if they want it or not. This might help: |
I have created an issue in dotnet/runtime asking about the code-style change. |
Seeing as #5646 hit many other PRs I'd like to close and reopen this just in case. |
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
Thanks, @elachlan! |
Fixes #5589