Introduce typealias JvmRepeatable for j.l.a.Repeatable

#KT-12794 Fixed
This commit is contained in:
Alexander Udalov
2021-07-29 15:00:46 +02:00
parent 847c58d574
commit 3636118743
4 changed files with 28 additions and 3 deletions
@@ -1,13 +1,15 @@
// !LANGUAGE: +RepeatableAnnotations
// !API_VERSION: LATEST
// TARGET_BACKEND: JVM_IR
// WITH_RUNTIME
// FULL_JDK
// JVM_TARGET: 1.8
// STDLIB_JDK8
package test
@Repeatable
@java.lang.annotation.Repeatable(As::class)
@JvmRepeatable(As::class)
annotation class A(val value: String)
annotation class As(val value: Array<A>)