LC: use callable name as suffix of receiver parameter name

This commit is contained in:
Jinseong Jeon
2021-12-02 15:46:09 -08:00
committed by Ilya Kirillov
parent 9b9522d714
commit 20408dc176
@@ -223,7 +223,7 @@ internal class KtUltraLightReceiverParameter(
method: KtUltraLightMethod
) : KtAbstractUltraLightParameterForDeclaration(
/** @see org.jetbrains.kotlin.codegen.AsmUtil.getNameForReceiverParameter */
name = AsmUtil.getLabeledThisName(method.name, LABELED_THIS_PARAMETER, RECEIVER_PARAMETER_NAME),
name = AsmUtil.getLabeledThisName(containingDeclaration.name ?: method.name, LABELED_THIS_PARAMETER, RECEIVER_PARAMETER_NAME),
kotlinOrigin = null,
support = support,
method = method,