Fixed bug in LateinitLowering
This commit is contained in:
+1
@@ -52,6 +52,7 @@ class LateinitLowering(val context: CommonBackendContext) : FileLoweringPass {
|
|||||||
name = oldField.name
|
name = oldField.name
|
||||||
}.also { newField ->
|
}.also { newField ->
|
||||||
newField.parent = oldField.parent
|
newField.parent = oldField.parent
|
||||||
|
newField.correspondingPropertySymbol = declaration.symbol
|
||||||
declaration.backingField = newField
|
declaration.backingField = newField
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user