[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
Vendored
+1
-1
@@ -7,5 +7,5 @@ fun test1(f: String.() -> Unit) {
|
||||
fun test2(f: (Int) -> Int) {
|
||||
1.<!UNRESOLVED_REFERENCE!>f<!>(2)
|
||||
|
||||
2.(<!UNRESOLVED_REFERENCE!>f<!>)(2)
|
||||
2.(f)(<!TOO_MANY_ARGUMENTS!>2<!>)
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -5,7 +5,7 @@ fun test1() {
|
||||
}
|
||||
|
||||
fun test2(f: String.(Int) -> Unit) {
|
||||
11.(<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>f<!>)(1)
|
||||
11.<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>(f)<!>(1)
|
||||
11.(f)<!NO_VALUE_FOR_PARAMETER!>()<!>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user