Files
kotlin/idea/testData/quickfix/replaceInfixOrOperatorCall/callExpression.kt.after

9 lines
137 B
Plaintext
Vendored

// "Replace with safe (?.) call" "true"
// WITH_RUNTIME
fun foo() {}
fun bar() {
val fff: (() -> Unit)? = ::foo
fff?.invoke()
}