10 lines
216 B
Kotlin
Vendored
10 lines
216 B
Kotlin
Vendored
// "Remove @ from annotation argument" "true"
|
|
// ERROR: An annotation argument 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() {
|
|
|
|
} |