Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/resolveToLocalFromCallSite.kt
T
2021-12-21 10:45:36 +00:00

11 lines
250 B
Kotlin
Vendored

val x = object {
fun foo(types: List<String>) {
val length = "123"
types.mapIndexed { i, length -> Triple(i, length, length.getFilteredType()) }
}
private fun String.getFilteredType() = bar(length)
}
fun bar(x: Int) = x