Skip to content
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

Remove unnecessary parentheses #28665

Closed
wants to merge 1 commit into from
Closed

Remove unnecessary parentheses #28665

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Jun 13, 2017

Sequel to #25573

@mention-bot
Copy link

@andy-ms, thanks for your PR! By analyzing the history of the files in this pull request, we identified @ramya-rao-a to be a potential reviewer.

@ghost
Copy link
Author

ghost commented Jun 13, 2017

Looks like a test is timing out.

@ramya-rao-a ramya-rao-a self-assigned this Jun 14, 2017
@ramya-rao-a
Copy link
Contributor

3 pairs of parentheses are being removed here, where as only the one of them is unecessary.

@ghost
Copy link
Author

ghost commented Nov 28, 2017

It's not necessary parenthesize (a && b) || (c && (d && e)) because && binds more tightly than ||.

@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants