Files
kotlin-fork/idea/testData/inspectionsLocal/unusedUnaryOperator/usedAsExpression2.kt
T
Toshiaki Kameyama 74970ddfeb Introduce "Unused unary operator" inspection
#KT-12073 Fixed
2019-10-18 18:50:53 +07:00

4 lines
66 B
Kotlin
Vendored

// PROBLEM: none
fun test(foo: Int?): Int {
return <caret>-1
}