[FIR] value parameters from data class copy should be marked as resolved

^KT-65763 Fixed
This commit is contained in:
Dmitrii Gridin
2024-02-12 22:54:49 +01:00
committed by Space Team
parent ab7ae180f9
commit 0e16788b0a
2 changed files with 2 additions and 1 deletions
@@ -1214,6 +1214,7 @@ fun <TBase, TSource : TBase, TParameter : TBase> FirRegularClassBuilder.createDa
val propertyReturnTypeRef =
createParameterTypeRefWithSourceKind(firProperty, KtFakeSourceElementKind.DataClassGeneratedMembers)
valueParameters += buildValueParameter {
resolvePhase = this@createDataClassCopyFunction.resolvePhase
source = parameterSource
containingFunctionSymbol = this@buildSimpleFunction.symbol
moduleData = this@createDataClassCopyFunction.moduleData