Files
kotlin-fork/compiler/testData/ir/irText/firProblems/AnnotationInAnnotation.kt.txt
T
2020-11-26 00:14:25 +03:00

31 lines
500 B
Plaintext
Vendored

annotation class Storage : Annotation {
constructor(value: String) /* primary */
val value: String
field = value
get
}
annotation class State : Annotation {
constructor(name: String, storages: Array<Storage>) /* primary */
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>() */
}
}