[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
+6
@@ -1188,6 +1188,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/testData/diagnostics/tests/annotations/cycleInParameters_after.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("cycleInParameters_array.kt")
|
||||
public void testCycleInParameters_array() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/annotations/cycleInParameters_array.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("cycleInParameters_before.kt")
|
||||
public void testCycleInParameters_before() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user