From 93fa5ee696a5554c32f0565b565bc990f3f31dd9 Mon Sep 17 00:00:00 2001 From: Nikolay Lunyak Date: Thu, 31 Mar 2022 17:28:53 +0300 Subject: [PATCH] [FIR] Add the missing source kind --- .../src/org/jetbrains/kotlin/fir/builder/BaseFirBuilder.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/fir/raw-fir/raw-fir.common/src/org/jetbrains/kotlin/fir/builder/BaseFirBuilder.kt b/compiler/fir/raw-fir/raw-fir.common/src/org/jetbrains/kotlin/fir/builder/BaseFirBuilder.kt index bd964a3722f..7d001c3d814 100644 --- a/compiler/fir/raw-fir/raw-fir.common/src/org/jetbrains/kotlin/fir/builder/BaseFirBuilder.kt +++ b/compiler/fir/raw-fir/raw-fir.common/src/org/jetbrains/kotlin/fir/builder/BaseFirBuilder.kt @@ -811,7 +811,7 @@ abstract class BaseFirBuilder(val baseSession: FirSession, val context: Conte val firArgument = buildFunctionCall { source = desugaredSource calleeReference = buildSimpleNamedReference { - source = receiver?.toFirSourceElement() + source = receiver?.toFirSourceElement(KtFakeSourceElementKind.ArrayAccessNameReference) name = OperatorNameConventions.GET } explicitReceiver = generateResolvedAccessExpression(arrayVariable.source, arrayVariable)