Generate IR for annotation class constructors.

This commit is contained in:
Pavel Kunyavskiy
2021-09-14 19:09:12 +03:00
committed by Space
parent 773c82ae48
commit a40022efcd
100 changed files with 743 additions and 244 deletions
@@ -1,5 +1,10 @@
annotation class TestAnn : Annotation {
constructor(x: String) /* primary */
open annotation class TestAnn : Annotation {
constructor(x: String) /* primary */ {
super/*Any*/()
/* <init>() */
}
val x: String
field = x
get
@@ -65,8 +70,11 @@ enum class TestEnum : Enum<TestEnum> {
}
@TestAnn(x = "annotation")
annotation class TestAnnotation : Annotation {
constructor() /* primary */
open annotation class TestAnnotation : Annotation {
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
}