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

9 lines
139 B
Plaintext
Vendored

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