Analysis API: Fix issues related to implicit invoke calls:
- Correctly set explicit receiver value. - Restore original function call from FirImplicitFunctionCall (i.e., calls implicitly resolved to `invoke`) to get the correct name for getting all candidates. - Collect candidates at all tower levels. Also make order of candidate calls in tests deterministic.
This commit is contained in:
committed by
Ilya Kirillov
parent
ace826c570
commit
9b9da94a09
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
fun x(c: Char) {}
|
||||
|
||||
fun call(x: kotlin.Int) {
|
||||
operator fun Int.invoke(a: String) {}
|
||||
operator fun Int.invoke(b: Boolean) {}
|
||||
<expr>x()</expr>
|
||||
}
|
||||
Reference in New Issue
Block a user