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,9 +1,13 @@
annotation class Ann : Annotation {
constructor() /* primary */
open annotation class Ann : Annotation {
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
}
val test1: Int /* by */
val test1: Int /* by */
field = lazy<Int>(initializer = local fun <anonymous>(): Int {
return 42
}
@@ -11,4 +15,3 @@ val test1: Int /* by */
get(): Int {
return #test1$delegate.getValue<Int>(thisRef = null, property = ::test1)
}