[FIR] Fix type of this reference in copy funciton of data class

This commit is contained in:
Dmitriy Novozhilov
2020-10-14 15:23:33 +03:00
parent 0616f948c7
commit fae1b70605
@@ -1098,7 +1098,7 @@ abstract class BaseFirBuilder<T>(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