AA FIR: handle smartcasted arg when building call's argument mapping

^KTIJ-25112 Fixed
This commit is contained in:
Jinseong Jeon
2023-04-06 23:52:28 -07:00
committed by Ilya Kirillov
parent 86540bdbb4
commit fbe558a0de
8 changed files with 112 additions and 0 deletions
@@ -0,0 +1,28 @@
KtSuccessCallInfo:
call = KtSimpleFunctionCall:
isImplicitInvoke = false
partiallyAppliedSymbol = KtPartiallyAppliedSymbol:
dispatchReceiver = null
extensionReceiver = null
signature = KtFunctionLikeSignature:
receiverType = null
returnType = kotlin.Unit
symbol = /foo(s: kotlin.String): kotlin.Unit
valueParameters = [
KtVariableLikeSignature:
name = s
receiverType = null
returnType = kotlin.String
symbol = s: kotlin.String
callableIdIfNonLocal = null
]
callableIdIfNonLocal = /foo
typeArgumentsMapping = {}
argumentMapping = {
s -> (KtVariableLikeSignature:
name = s
receiverType = null
returnType = kotlin.String
symbol = s: kotlin.String
callableIdIfNonLocal = null)
}