efa3bf9c69
I found these tests only _after_ the previous changes, so I needed to merge and/or remove redundant tests.
10 lines
154 B
Kotlin
Vendored
10 lines
154 B
Kotlin
Vendored
// "Add non-null asserted (!!) call" "true"
|
|
|
|
class SafeType {
|
|
operator fun plus(arg: Int) {}
|
|
}
|
|
|
|
fun safeB(p: SafeType?) {
|
|
val v = p <caret>+ 42
|
|
}
|