Fix annotation copying for IrValueParameters

This commit is contained in:
Dmitry Petrov
2018-06-27 16:12:06 +03:00
parent 799fcc2606
commit 71c5bf0b97
@@ -214,8 +214,8 @@ open class DeepCopyIrTree : IrElementTransformerVoid() {
type, // TODO type, // TODO
varargElementType, // TODO varargElementType, // TODO
defaultValue?.transform() defaultValue?.transform()
).apply { ).also { irValueParameter ->
transformAnnotations(this) irValueParameter.transformAnnotations(this)
} }
// TODO visitTypeParameter // TODO visitTypeParameter