mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
13 lines
289 B
Kotlin
Vendored
13 lines
289 B
Kotlin
Vendored
// TODO: muted automatically, investigate should it be ran for JS or not
|
|
// IGNORE_BACKEND: JS
|
|
|
|
// WITH_REFLECT
|
|
|
|
@Retention(AnnotationRetention.RUNTIME)
|
|
annotation class Simple(val value: String)
|
|
|
|
@Simple("OK")
|
|
fun box(): String {
|
|
return (::box.annotations.single() as Simple).value
|
|
}
|