Analysis API: fix call resolve inside plusAssign target

^KT-50864 fixed
This commit is contained in:
Ilya Kirillov
2022-01-19 12:25:44 +01:00
committed by TeamCityServer
parent db1dedc9fe
commit 3b943706d8
9 changed files with 75 additions and 10 deletions
@@ -0,0 +1,5 @@
// WITH_STDLIB
fun foo(x: MutableMap<Int, MutableList<String>>) {
x.getOrPut(1) { <expr>mutableListOf</expr><String>() } += "str"
}
@@ -0,0 +1,12 @@
KtSuccessCallInfo:
call = KtSimpleFunctionCall:
isImplicitInvoke = false
partiallyAppliedSymbol = KtPartiallyAppliedSymbol:
dispatchReceiver = null
extensionReceiver = null
signature = KtFunctionLikeSignature:
receiverType = null
returnType = kotlin.collections.MutableList<kotlin.String>
symbol = kotlin/collections/mutableListOf(): kotlin.collections.MutableList<T>
valueParameters = []
argumentMapping = {}