[IR] Fixed parents during constructors moving

This commit is contained in:
Igor Chevdar
2019-07-26 20:24:27 +05:00
parent 2c61572c50
commit e575ca4f53
@@ -221,6 +221,7 @@ class LocalDeclarationsLowering(
declaration.valueParameters.filter { it.defaultValue != null }.forEach { argument ->
oldParameterToNew[argument]!!.defaultValue = argument.defaultValue
}
acceptChildren(SetDeclarationsParentVisitor, this)
} ?: super.visitConstructor(declaration)
}