mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 08:31:28 +00:00
9 lines
149 B
Kotlin
Vendored
9 lines
149 B
Kotlin
Vendored
// "Replace scope function with safe (?.) call" "true"
|
|
// WITH_RUNTIME
|
|
var i = 0
|
|
|
|
fun foo(a: String?) {
|
|
i = a.run {
|
|
length<caret>
|
|
}
|
|
} |