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
@@ -19,8 +19,13 @@ enum class En : Enum<En> {
}
annotation class TestAnn : Annotation {
constructor(x: En) /* primary */
open annotation class TestAnn : Annotation {
constructor(x: En) /* primary */ {
super/*Any*/()
/* <init>() */
}
val x: En
field = x
get
@@ -30,4 +35,3 @@ annotation class TestAnn : Annotation {
@TestAnn(x = En.A)
fun test1() {
}