[FE] Don't report cycle on annotation parameters if argument is vararg or array
^KT-52742 Fixed ^KT-47932
This commit is contained in:
committed by
teamcity
parent
4775855fd7
commit
12ce433bc2
@@ -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
|
||||
)
|
||||
Reference in New Issue
Block a user