[FIR] Support typealiases to java Repeatable

This commit is contained in:
Nikolay Lunyak
2023-01-13 12:01:09 +02:00
committed by Space Team
parent 2e8b177262
commit d105ce8681
7 changed files with 63 additions and 2 deletions
@@ -0,0 +1,13 @@
// FIR_IDENTICAL
// FULL_JDK
// !LANGUAGE: +RepeatableAnnotations
//import java.lang.annotation.*
typealias Rep = java.lang.annotation.Repeatable
<!REPEATABLE_CONTAINER_MUST_HAVE_VALUE_ARRAY_ERROR!>@Rep(RepeatableAnnotationContainer::class)<!>
annotation class RepeatableAnnotation
annotation class RepeatableAnnotationContainer
@RepeatableAnnotation class Annotated