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
55 lines
1.9 KiB
Plaintext
Vendored
55 lines
1.9 KiB
Plaintext
Vendored
KtSuccessCallInfo:
|
|
call = KtCompoundArrayAccessCall:
|
|
compoundAccess = IncOrDecOperation:
|
|
kind = INC
|
|
precedence = PREFIX
|
|
operationPartiallyAppliedSymbol = KtPartiallyAppliedSymbol:
|
|
dispatchReceiver = KtExplicitReceiverValue:
|
|
expression = m["a"]
|
|
isSafeNavigation = false
|
|
extensionReceiver = null
|
|
signature = KtFunctionLikeSignature:
|
|
receiverType = null
|
|
returnType = kotlin.Int
|
|
symbol = kotlin/Int.inc(<dispatch receiver>: kotlin.Int): kotlin.Int
|
|
valueParameters = []
|
|
getPartiallyAppliedSymbol = KtPartiallyAppliedSymbol:
|
|
dispatchReceiver = KtExplicitReceiverValue:
|
|
expression = m
|
|
isSafeNavigation = false
|
|
extensionReceiver = null
|
|
signature = KtFunctionLikeSignature:
|
|
receiverType = null
|
|
returnType = kotlin.Int
|
|
symbol = /MyMap.get(<dispatch receiver>: MyMap<K, V>, k: K): V
|
|
valueParameters = [
|
|
KtVariableLikeSignature:
|
|
name = k
|
|
receiverType = null
|
|
returnType = kotlin.String
|
|
symbol = k: K
|
|
]
|
|
indexArguments = [
|
|
"a"
|
|
]
|
|
setPartiallyAppliedSymbol = KtPartiallyAppliedSymbol:
|
|
dispatchReceiver = KtExplicitReceiverValue:
|
|
expression = m
|
|
isSafeNavigation = false
|
|
extensionReceiver = null
|
|
signature = KtFunctionLikeSignature:
|
|
receiverType = null
|
|
returnType = kotlin.Unit
|
|
symbol = /MyMap.set(<dispatch receiver>: MyMap<K, V>, k: K, v: V): kotlin.Unit
|
|
valueParameters = [
|
|
KtVariableLikeSignature:
|
|
name = k
|
|
receiverType = null
|
|
returnType = kotlin.String
|
|
symbol = k: K,
|
|
KtVariableLikeSignature:
|
|
name = v
|
|
receiverType = null
|
|
returnType = kotlin.Int
|
|
symbol = v: V
|
|
] |