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

6 lines
288 B
Kotlin
Vendored

// 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)
}