Expose transformAnnotations from DeepCopyIrTree

This commit is contained in:
Svyatoslav Scherbina
2018-05-30 13:20:37 +03:00
committed by Dmitry Petrov
parent d1b6e8901a
commit 35cf7c4db3
@@ -179,7 +179,7 @@ open class DeepCopyIrTree : IrElementTransformerVoid() {
}
}
private fun IrAnnotationContainer.transformAnnotations(original: IrAnnotationContainer) {
protected fun IrAnnotationContainer.transformAnnotations(original: IrAnnotationContainer) {
original.annotations.mapTo(annotations) { it.transform() }
}