Files
kotlin-fork/idea/testData/intentions/convertReferenceToLambda/companion.kt.after
T

11 lines
161 B
Plaintext
Vendored

// WITH_RUNTIME
import Utils.Companion.foo
val list = listOf(1, 2, 3).map { foo(it) }
class Utils {
companion object {
fun foo(x: Int) = x
}
}