Files
kotlin-fork/idea/testData/quickfix/addExclExclCall/operationUnary.kt.after
T
Mark Punzalan efa3bf9c69 FIR IDE: Consolidate tests for AddExclExclFix in one directory.
I found these tests only _after_ the previous changes, so I needed to
merge and/or remove redundant tests.
2021-05-20 20:32:57 +02:00

10 lines
143 B
Plaintext
Vendored

// "Add non-null asserted (!!) call" "true"
class SafeType {
operator fun unaryMinus() {}
}
fun safeB(p: SafeType?) {
val v = -p!!
}