Files
kotlin-fork/idea/testData/intentions/convertNegatedExpressionWithDemorgansLaw/nonstandardPrefixOperator.kt
T

7 lines
138 B
Kotlin
Vendored

operator fun Boolean.unaryPlus(): Boolean {
return false
}
fun foo(a: Boolean, b: Boolean) : Boolean {
return !<caret>(+a || b)
}