From fae1b70605112d117bf2f6905aced3839dc2c7dd Mon Sep 17 00:00:00 2001 From: Dmitriy Novozhilov Date: Wed, 14 Oct 2020 15:23:33 +0300 Subject: [PATCH] [FIR] Fix type of this reference in `copy` funciton of data class --- .../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 f6b2f03a083..7a78aa0710b 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 @@ -1098,7 +1098,7 @@ abstract class BaseFirBuilder(val baseSession: FirSession, val context: Conte returnTypeRef = propertyReturnTypeRef name = propertyName symbol = FirVariableSymbol(propertyName) - defaultValue = generateComponentAccess(parameterSource, firProperty, propertyReturnTypeRef, classTypeRef) + defaultValue = generateComponentAccess(parameterSource, firProperty, classTypeRef, propertyReturnTypeRef) isCrossinline = false isNoinline = false isVararg = false