Files
kotlin-fork/compiler/testData/diagnostics/tests/annotations/RecursivelyAnnotatedProperty.kt
T
2020-09-16 16:53:31 +03:00

6 lines
172 B
Kotlin
Vendored

// FIR_IDENTICAL
// Properties can be recursively annotated
annotation class ann(val x: Int)
class My {
@ann(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>x<!>) val x: Int = 1
}