KT-9729 Invert If Condition intention should run Simplify Negated Expression when applicable
#KT-9729 Fixed
This commit is contained in:
@@ -3,7 +3,7 @@ fun foo(): Boolean {
|
||||
}
|
||||
|
||||
fun main() {
|
||||
if (!(foo() && foo())) {
|
||||
if (!foo() || !foo()) {
|
||||
foo()
|
||||
} else {
|
||||
foo()
|
||||
|
||||
Reference in New Issue
Block a user