Files
kotlin/idea/testData/quickfix/removeAtFromAnnotationArgument/namedParam.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

10 lines
217 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, val y: Y)
@X(Y(), y = @Y()<caret>)
fun foo() {
}