Files
kotlin-fork/compiler/testData/ir/irText/firProblems/AnnotationInAnnotation.kt.txt
T
2021-09-23 06:59:33 +00:00

40 lines
599 B
Plaintext
Vendored

open annotation class Storage : Annotation {
constructor(value: String) /* primary */ {
super/*Any*/()
/* <init>() */
}
val value: String
field = value
get
}
open annotation class State : Annotation {
constructor(name: String, storages: Array<Storage>) /* primary */ {
super/*Any*/()
/* <init>() */
}
val name: String
field = name
get
val storages: Array<Storage>
field = storages
get
}
@State(name = "1", storages = [Storage(value = "HELLO")])
class Test {
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
}