Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: fisker <lionkay@gmail.com>
247 B
247 B
Add missing parentheses in bitwise operators (#18163 by @fs0414)
// Input
1 << (bit % 8);
1 >> (bit - 8);
// Prettier stable
1 << bit % 8;
1 >> (bit - 8);
// Prettier main
1 << (bit % 8);
1 >> (bit - 8);