mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-18 00:21:35 +00:00
10 lines
217 B
Kotlin
Vendored
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() {
|
|
|
|
} |