SimplifyBooleanExpression: Fix negation generation for xor case

GitOrigin-RevId: a6072460618ac0a7c6c29f0ad61c0bdde4d52318
This commit is contained in:
Tagir Valeev
2019-06-18 16:06:00 +07:00
committed by intellij-monorepo-bot
parent f3a71cda8a
commit a939a18e23
3 changed files with 13 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
// "Simplify boolean expression" "true"
class A {
void foo(int x) {
boolean a = x <= 5;
}
}

View File

@@ -0,0 +1,6 @@
// "Simplify boolean expression" "true"
class A {
void foo(int x) {
boolean a = true<caret> ^ x > 5;
}
}