[LL API] Fix value capturing for multiple receivers

There were problem when 'this' bound symbol was used twice for a call

KT-61144
This commit is contained in:
Alexey Merkulov
2023-07-27 18:49:55 +02:00
committed by Space Team
parent 35eca56d32
commit 3d92d0d05f
20 changed files with 219 additions and 24 deletions
@@ -21,7 +21,7 @@ class CodeFragmentConversionData(
val injectedValues: List<InjectedValue>
)
class InjectedValue(val symbol: FirBasedSymbol<*>, val typeRef: FirTypeRef, val isMutated: Boolean) {
class InjectedValue(val symbol: FirBasedSymbol<*>, val contextReceiverNumber: Int, val typeRef: FirTypeRef, val isMutated: Boolean) {
val irParameterSymbol: IrValueParameterSymbol = IrValueParameterSymbolImpl()
}