Files
kotlin/idea/testData/quickfix/removeAtFromAnnotationArgument/simple.kt
Andrius Semionovas 68659f5a32 Introduce error "ANNOTATION_USED_AS_ANNOTATION_ARGUMENT" along with QF
The relevant inspection has been removed
So #KT-18855 Fixed
2017-07-27 09:54:22 +03:00

9 lines
197 B
Kotlin
Vendored

// "Remove @ from annotation argument" "true"
// ERROR: An annotation parameter must be a compile-time constant
annotation class Y()
annotation class X(val value: Y)
@X(@Y()<caret>)
fun foo() {
}