SimplifyBooleanExpression: Fix negation generation for xor case

GitOrigin-RevId: a6072460618ac0a7c6c29f0ad61c0bdde4d52318
This commit is contained in:
Tagir Valeev
2019-07-02 06:52:16 +03:00
committed by intellij-monorepo-bot
parent f3a71cda8a
commit a939a18e23
3 changed files with 13 additions and 1 deletions
@@ -0,0 +1,6 @@
// "Simplify boolean expression" "true"
class A {
void foo(int x) {
boolean a = x <= 5;
}
}
@@ -0,0 +1,6 @@
// "Simplify boolean expression" "true"
class A {
void foo(int x) {
boolean a = true<caret> ^ x > 5;
}
}