mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 15:53:40 +00:00
9 lines
197 B
Kotlin
Vendored
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() {
|
|
} |