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
@@ -2,8 +2,13 @@ const val ONE: Int
field = 1
get
annotation class A : Annotation {
constructor(x: Int) /* primary */
open annotation class A : Annotation {
constructor(x: Int) /* primary */ {
super/*Any*/()
/* <init>() */
}
val x: Int
field = x
get
@@ -17,4 +22,3 @@ fun test1() {
@A(x = 2)
fun test2() {
}