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
+5
@@ -0,0 +1,5 @@
|
||||
// IS_APPLICABLE: false
|
||||
// ERROR: Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: <br>public operator fun String?.plus(other: Any?): String defined in kotlin
|
||||
fun foo(a: Boolean, b: Boolean) : Boolean {
|
||||
return !<caret>(!a + b)
|
||||
}
|
||||
Reference in New Issue
Block a user