9 lines
147 B
Kotlin
Vendored
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
|
|
} |