Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Discourage Yoda _inequalities_ as well as _equals_ checks. #4647

Merged
merged 1 commit into from
Oct 30, 2024

Commits on Oct 30, 2024

  1. Discourage Yoda _inequalities_ as well as _equals_ checks.

    But special-case to allow stuff like `2 <= a && a <= 10`.
    
    PiperOrigin-RevId: 691375654
    graememorgan authored and Error Prone Team committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    0fabb97 View commit details
    Browse the repository at this point in the history