Files
kotlin-fork/compiler/testData/ir/irText/firProblems/AnnotationInAnnotation.kt.txt
T
2024-02-16 10:19:38 +00:00

41 lines
600 B
Kotlin
Vendored

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