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

7 lines
138 B
Kotlin
Vendored

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