Generate IR for annotation class constructors.
This commit is contained in:
+7
-3
@@ -2,11 +2,15 @@
|
||||
package test
|
||||
|
||||
@Target(allowedTargets = [AnnotationTarget.FILE])
|
||||
annotation class A : Annotation {
|
||||
constructor(x: String) /* primary */
|
||||
open annotation class A : Annotation {
|
||||
constructor(x: String) /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
val x: String
|
||||
field = x
|
||||
get
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user