Files
kotlin-fork/idea/testData/intentions/convertBinaryExpressionWithDemorgansLaw/disjunctionNegation2.kt
T
2017-06-28 15:28:43 +03:00

5 lines
135 B
Kotlin
Vendored

// INTENTION_TEXT: Replace '||' with '&&'
fun foo(a: Boolean, b: Boolean, c: Boolean) : Boolean {
return !(<caret>a || (b && c))
}