[FIR] Properly generate implicit invoke calls for a.(b)()

^KT-64891 Fixed
This commit is contained in:
Nikolay Lunyak
2024-01-15 12:57:27 +02:00
committed by Space Team
parent 8e6e447d6d
commit 3a36a786d4
9 changed files with 44 additions and 45 deletions
@@ -10,10 +10,10 @@ val B.a: () -> Int get() = { 5 }
fun test(a: A, b: B) {
val x: Int = b.a()
b.(a)()
b.(<!UNRESOLVED_REFERENCE!>a<!>)()
with(b) {
val y: Int = a()
(a)()
(<!UNRESOLVED_REFERENCE!>a<!>)()
}
}