From 9187bbb710c63d90adcd3df9747b0636e6685e62 Mon Sep 17 00:00:00 2001 From: Kirill Rakhman Date: Mon, 8 May 2023 10:30:10 +0200 Subject: [PATCH] [FIR] Fix typo --- .../org/jetbrains/kotlin/fir/builder/PsiConversionUtils.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/fir/raw-fir/psi2fir/src/org/jetbrains/kotlin/fir/builder/PsiConversionUtils.kt b/compiler/fir/raw-fir/psi2fir/src/org/jetbrains/kotlin/fir/builder/PsiConversionUtils.kt index 740e0c34927..054f1151f36 100644 --- a/compiler/fir/raw-fir/psi2fir/src/org/jetbrains/kotlin/fir/builder/PsiConversionUtils.kt +++ b/compiler/fir/raw-fir/psi2fir/src/org/jetbrains/kotlin/fir/builder/PsiConversionUtils.kt @@ -24,14 +24,14 @@ import org.jetbrains.kotlin.name.Name import org.jetbrains.kotlin.psi.* internal fun KtWhenCondition.toFirWhenCondition( - whenRefWithSibject: FirExpressionRef, + whenRefWithSubject: FirExpressionRef, convert: KtExpression?.(String) -> FirExpression, toFirOrErrorTypeRef: KtTypeReference?.() -> FirTypeRef, ): FirExpression { val firSubjectSource = this.toKtPsiSourceElement(KtFakeSourceElementKind.WhenGeneratedSubject) val firSubjectExpression = buildWhenSubjectExpression { source = firSubjectSource - whenRef = whenRefWithSibject + whenRef = whenRefWithSubject } return when (this) { is KtWhenConditionWithExpression -> {