8d8fc6e291
Maybe in the future we could remove type from the KtImplicitReceiverValue, because it has ktSymbol, and in theory that should be enough to create corresponding KtType. Unfortunately that is not the case for KtClassOrObjectSymbol -- it doesn't have the API for "default" type creation currently. Regarding code in KtFirCallResolver.kt -- it seems like code there needs some love in the future. Psi created via custom code there, because for call x() FIR has receiver x with psi = null
65 lines
2.2 KiB
Plaintext
Vendored
65 lines
2.2 KiB
Plaintext
Vendored
KtSuccessCallInfo:
|
|
call = KtCompoundArrayAccessCall:
|
|
compoundAccess = IncOrDecOperation:
|
|
kind = INC
|
|
precedence = POSTFIX
|
|
operationPartiallyAppliedSymbol = KtPartiallyAppliedSymbol:
|
|
dispatchReceiver = KtExplicitReceiverValue:
|
|
expression = m["a"]
|
|
isSafeNavigation = false
|
|
type = kotlin.Int
|
|
extensionReceiver = null
|
|
signature = KtFunctionLikeSignature:
|
|
receiverType = null
|
|
returnType = kotlin.Int
|
|
symbol = kotlin/Int.inc(<dispatch receiver>: kotlin.Int): kotlin.Int
|
|
valueParameters = []
|
|
callableIdIfNonLocal = kotlin/Int.inc
|
|
getPartiallyAppliedSymbol = KtPartiallyAppliedSymbol:
|
|
dispatchReceiver = KtExplicitReceiverValue:
|
|
expression = m
|
|
isSafeNavigation = false
|
|
type = MyMap<kotlin.String, kotlin.Int>
|
|
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
|
|
callableIdIfNonLocal = null
|
|
]
|
|
callableIdIfNonLocal = /MyMap.get
|
|
indexArguments = [
|
|
"a"
|
|
]
|
|
setPartiallyAppliedSymbol = KtPartiallyAppliedSymbol:
|
|
dispatchReceiver = KtExplicitReceiverValue:
|
|
expression = m
|
|
isSafeNavigation = false
|
|
type = MyMap<kotlin.String, kotlin.Int>
|
|
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
|
|
callableIdIfNonLocal = null,
|
|
KtVariableLikeSignature:
|
|
name = v
|
|
receiverType = null
|
|
returnType = kotlin.Int
|
|
symbol = v: V
|
|
callableIdIfNonLocal = null
|
|
]
|
|
callableIdIfNonLocal = /MyMap.set
|