Apply De Morgan's laws to non-negated binary expressions

So #KT-18460 Fixed
This commit is contained in:
Dmitry Neverov
2017-06-16 12:28:04 +03:00
committed by Mikhail Glukhikh
parent af53a0ecd5
commit 44ce5f73f7
44 changed files with 193 additions and 128 deletions
@@ -1,6 +1,7 @@
// "Replace with safe (?.) call" "false"
// ACTION: Add non-null asserted (!!) call
// ACTION: Flip '>'
// ACTION: Replace '&&' with '||'
// ACTION: Replace overloaded operator with function call
// ACTION: Simplify boolean expression
// ERROR: Operator call corresponds to a dot-qualified call 'w?.x.compareTo(42)' which is not allowed on a nullable receiver 'w?.x'.