Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/callResolution/twoLocalLambdasWithSameName.kt
T
Dmitriy Novozhilov fc2d294b6c [FIR] Fix tower priorities for invoke resolve
#KT-45316 Fixed
2021-03-18 10:24:57 +03:00

14 lines
247 B
Kotlin
Vendored

// ISSUE: KT-45316
interface R
fun takeInt(x: Int) {}
fun test(fn: R.() -> String) { // (1)
val renderer = object : R {
fun render(fn: R.() -> Int) { // (2)
val result = fn()
takeInt(result)
}
}
}