[FIR] Fix tower priorities for invoke resolve

#KT-45316 Fixed
This commit is contained in:
Dmitriy Novozhilov
2021-03-11 17:42:55 +03:00
parent cfca7183e5
commit fc2d294b6c
7 changed files with 73 additions and 5 deletions
@@ -0,0 +1,13 @@
// 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)
}
}
}