Generate IR for annotation class constructors.
This commit is contained in:
@@ -1,13 +1,23 @@
|
||||
annotation class Storage : Annotation {
|
||||
constructor(value: String) /* primary */
|
||||
open annotation class Storage : Annotation {
|
||||
constructor(value: String) /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
val value: String
|
||||
field = value
|
||||
get
|
||||
|
||||
}
|
||||
|
||||
annotation class State : Annotation {
|
||||
constructor(name: String, storages: Array<Storage>) /* primary */
|
||||
open annotation class State : Annotation {
|
||||
constructor(name: String, storages: Array<Storage>) /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
val name: String
|
||||
field = name
|
||||
get
|
||||
@@ -27,4 +37,3 @@ class Test {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user