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

11 lines
163 B
Kotlin
Vendored

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