IR: copy anonymous initializer annotations properly #KT-48687 Fixed

This commit is contained in:
Mikhail Glukhikh
2021-09-09 15:58:27 +03:00
parent 108df38255
commit 457a6f4e9d
9 changed files with 149 additions and 0 deletions
@@ -0,0 +1,19 @@
annotation class SomeAnn : Annotation {
constructor() /* primary */
}
@SomeAnn
class My {
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
@SomeAnn
init {
val x: Int = 1
}
}