Replace "||" with "&&" (and the opposite) made more clever about negating expressions
This commit is contained in:
Vendored
+1
-1
@@ -1,3 +1,3 @@
|
||||
fun foo(a: Boolean, c: Int, d: Int) : Boolean {
|
||||
return !a || !(c == d)
|
||||
return !a || c != d
|
||||
}
|
||||
Reference in New Issue
Block a user