1938438fa1
#KT-50278 Fixed
11 lines
250 B
Kotlin
Vendored
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
|