Apply De Morgan's laws to non-negated binary expressions
So #KT-18460 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
af53a0ecd5
commit
44ce5f73f7
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
object O {
|
||||
fun foo(): Boolean = true
|
||||
fun bar(): Boolean = true
|
||||
}
|
||||
fun foo(p1: Boolean, p2: Boolean) {
|
||||
if (!(<caret>O.foo() || O.bar())) return
|
||||
}
|
||||
Reference in New Issue
Block a user