[FIR] value parameters from data class copy should be marked as resolved
^KT-65763 Fixed
This commit is contained in:
committed by
Space Team
parent
ab7ae180f9
commit
0e16788b0a
@@ -30,7 +30,7 @@ public final data [ResolvedTo(BODY_RESOLVE)] class MyDependency : R|kotlin/Any|
|
||||
|
||||
public final operator [ResolvedTo(BODY_RESOLVE)] fun component2(): R|one/D|
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun copy([ResolvedTo(RAW_FIR)] b: R|one/B| = this@R|one/MyDependency|.R|one/MyDependency.b|, [ResolvedTo(RAW_FIR)] d: R|one/D| = this@R|one/MyDependency|.R|one/MyDependency.d|): R|one/MyDependency|
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun copy([ResolvedTo(BODY_RESOLVE)] b: R|one/B| = this@R|one/MyDependency|.R|one/MyDependency.b|, [ResolvedTo(BODY_RESOLVE)] d: R|one/D| = this@R|one/MyDependency|.R|one/MyDependency.d|): R|one/MyDependency|
|
||||
|
||||
public open operator [ResolvedTo(BODY_RESOLVE)] fun equals([ResolvedTo(BODY_RESOLVE)] other: R|kotlin/Any?|): R|kotlin/Boolean|
|
||||
|
||||
|
||||
+1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user