Generate IR for annotation class constructors.
This commit is contained in:
Vendored
+7
-3
@@ -1,5 +1,10 @@
|
||||
annotation class A : Annotation {
|
||||
constructor(vararg xs: String) /* primary */
|
||||
open annotation class A : Annotation {
|
||||
constructor(vararg xs: String) /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
val xs: Array<out String>
|
||||
field = xs
|
||||
get
|
||||
@@ -17,4 +22,3 @@ fun test2() {
|
||||
@A(xs = [])
|
||||
fun test3() {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user