[FIR] provide correct origin and source to default backing field
Now it is aligned with default accessors Covered by analysis/analysis-api/testData/symbols/symbolByReference/accessorField.kt test ^KT-57648 ^KT-55723
This commit is contained in:
committed by
Space Team
parent
ae4b0c6fe1
commit
add47aa041
+4
-1
@@ -415,12 +415,15 @@ class FirMemberDeserializer(private val c: FirDeserializationContext) {
|
||||
)
|
||||
backingField = FirDefaultPropertyBackingField(
|
||||
c.moduleData,
|
||||
FirDeclarationOrigin.Library,
|
||||
source = null,
|
||||
backingFieldAnnotations,
|
||||
returnTypeRef,
|
||||
isVar,
|
||||
symbol,
|
||||
status
|
||||
status,
|
||||
)
|
||||
|
||||
if (hasGetter) {
|
||||
this.getter = loadPropertyGetter(
|
||||
proto,
|
||||
|
||||
Reference in New Issue
Block a user