[FE] Don't report cycle on annotation parameters if argument is vararg or array

^KT-52742 Fixed
^KT-47932
This commit is contained in:
Dmitriy Novozhilov
2022-06-14 13:37:29 +03:00
committed by teamcity
parent 4775855fd7
commit 12ce433bc2
12 changed files with 60 additions and 7 deletions
@@ -0,0 +1,11 @@
// FIR_IDENTICAL
// LANGUAGE: +ProhibitCyclesInAnnotations
// ISSUE: KT-52742
annotation class AnnotationWithArray(
val array: Array<AnnotationWithArray>
)
annotation class AnnotationWithVararg(
vararg val args: AnnotationWithVararg
)