[FIR] Properly generate implicit invoke calls for a.(b)()
^KT-64891 Fixed
This commit is contained in:
committed by
Space Team
parent
8e6e447d6d
commit
3a36a786d4
+2
-2
@@ -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<!>)()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user