f0f2f67024
Use-site substitution override happens in situations like this:
```
interface List<A> { fun get(i: Int): A }
fun take(list: List<String>) {
list.get(10) // this call
}
```
We want to have those overrides unwrapped, because we don't want
to deal with a different KtSymbol for each possible use-site
^KT-50862 Fixed
27 lines
1.0 KiB
Plaintext
Vendored
27 lines
1.0 KiB
Plaintext
Vendored
KtSuccessCallInfo:
|
|
call = KtSimpleFunctionCall:
|
|
isImplicitInvoke = true
|
|
partiallyAppliedSymbol = KtPartiallyAppliedSymbol:
|
|
dispatchReceiver = KtExplicitReceiverValue:
|
|
expression = x
|
|
isSafeNavigation = false
|
|
extensionReceiver = null
|
|
signature = KtFunctionLikeSignature:
|
|
receiverType = null
|
|
returnType = kotlin.Unit
|
|
symbol = kotlin/Function1.invoke(<dispatch receiver>: kotlin.Function1<P1, R>, p1: P1): R
|
|
valueParameters = [
|
|
KtVariableLikeSignature:
|
|
name = first
|
|
receiverType = null
|
|
returnType = @R|kotlin.ParameterName|(name = String(first)) @R|kotlin.ParameterName|(name = String(second)) kotlin.Int
|
|
symbol = p1: P1
|
|
]
|
|
argumentMapping = {
|
|
1 -> (KtVariableLikeSignature:
|
|
name = first
|
|
receiverType = null
|
|
returnType = @R|kotlin.ParameterName|(name = String(first)) @R|kotlin.ParameterName|(name = String(second)) kotlin.Int
|
|
symbol = p1: P1)
|
|
}
|