Generate IR for annotation class constructors.
This commit is contained in:
Vendored
+7
-3
@@ -1,5 +1,10 @@
|
||||
annotation class A : Annotation {
|
||||
constructor(x: String = "", y: Int = 42) /* primary */
|
||||
open annotation class A : Annotation {
|
||||
constructor(x: String = "", y: Int = 42) /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
val x: String
|
||||
field = x
|
||||
get
|
||||
@@ -29,4 +34,3 @@ fun test4() {
|
||||
@A
|
||||
fun test5() {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user