Files
kotlin-fork/j2k/testData/fileOrElement/annotations/annotationInterface3.kt
T

20 lines
356 B
Kotlin
Vendored

// ERROR: Members are not allowed in annotation class
// ERROR: Members are not allowed in annotation class
internal annotation class Anon(val value: String) {
enum class E {
A, B
}
companion object {
val field = E.A
}
}
@Anon("a")
internal interface I {
companion object {
val e: Anon.E = Anon.field
}
}