Fixed bug in LateinitLowering

This commit is contained in:
Igor Chevdar
2019-07-17 10:51:43 +03:00
parent 407e5a5270
commit 4bad92d28c
@@ -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
} }