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

Discourage Yoda _inequalities_ as well as _equals_ checks. #4647

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

copybara-service[bot]
Copy link
Contributor

Discourage Yoda inequalities as well as equals checks.

But special-case to allow stuff like 2 <= a && a <= 10.

But special-case to allow stuff like `2 <= a && a <= 10`.

PiperOrigin-RevId: 691375654
@copybara-service copybara-service bot merged commit 0fabb97 into master Oct 30, 2024
@copybara-service copybara-service bot deleted the test_690634127 branch October 30, 2024 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant