FIR: set correspondingPropertySymbol of backing fields
This commit is contained in:
@@ -516,7 +516,8 @@ class Fir2IrVisitor(
|
||||
}.setParentByParentStack().withParent {
|
||||
declarationStorage.enterScope(descriptor)
|
||||
val initializerExpression = firInitializerExpression?.toIrExpression()
|
||||
this.initializer = initializerExpression?.let { IrExpressionBodyImpl(it) }
|
||||
initializer = initializerExpression?.let { IrExpressionBodyImpl(it) }
|
||||
correspondingPropertySymbol = this@createBackingField.symbol
|
||||
declarationStorage.leaveScope(descriptor)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// FILE: 1.kt
|
||||
// File names are important! This file should come before the other one
|
||||
// in a lexicographic order.
|
||||
|
||||
Reference in New Issue
Block a user