9b9da94a09
- 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.
6 lines
157 B
Kotlin
Vendored
6 lines
157 B
Kotlin
Vendored
operator fun Int.invoke() : Long = 1L
|
|
operator fun Long.invoke() : Double = 1.0
|
|
operator fun Double.invoke() {}
|
|
fun test(i: Int) {
|
|
<expr>i()()</expr>()
|
|
} |