Files
kotlin-fork/idea/testData/quickfix/expressions/fixNullableUnaryWithExclExcl.kt
T

9 lines
147 B
Kotlin
Vendored

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