mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +00:00
8 lines
156 B
Plaintext
Vendored
8 lines
156 B
Plaintext
Vendored
// "Replace with safe (?.) call" "true"
|
|
// WITH_RUNTIME
|
|
|
|
fun bar() {
|
|
val fff: (() -> Int)? = { 1 }
|
|
var i: Int = 1
|
|
i = fff?.invoke() ?: <caret>
|
|
} |