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
62 lines
2.1 KiB
Plaintext
Vendored
62 lines
2.1 KiB
Plaintext
Vendored
KtSuccessCallInfo:
|
|
call = KtCompoundArrayAccessCall:
|
|
compoundAccess = CompoundAssign:
|
|
kind = PLUS_ASSIGN
|
|
operand = 1
|
|
operationPartiallyAppliedSymbol = KtPartiallyAppliedSymbol:
|
|
dispatchReceiver = KtExplicitReceiverValue:
|
|
expression = m["a"]
|
|
isSafeNavigation = false
|
|
extensionReceiver = null
|
|
signature = KtFunctionLikeSignature:
|
|
receiverType = null
|
|
returnType = kotlin.Int
|
|
symbol = kotlin/Int.plus(<dispatch receiver>: kotlin.Int, other: kotlin.Int): kotlin.Int
|
|
valueParameters = [
|
|
KtVariableLikeSignature:
|
|
name = other
|
|
receiverType = null
|
|
returnType = kotlin.Int
|
|
symbol = other: kotlin.Int
|
|
]
|
|
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
|
|
]
|