Redundant if inspection supports now assignments and just if (...) true else false #KT-13259 Fixed
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
// "Remove redundant 'if' statement" "true"
|
||||
fun bar(value: Int): Boolean {
|
||||
val x = <caret>if (value % 2 == 0) false else true
|
||||
return x
|
||||
}
|
||||
Reference in New Issue
Block a user