[FE 1.0] Report errors on cycles in annotation parameter types

^KT-47932
^KT-50753 Fixed
This commit is contained in:
Dmitriy Novozhilov
2022-01-12 13:12:31 +03:00
committed by teamcity
parent 139a800ff7
commit e9ac24dc33
16 changed files with 322 additions and 0 deletions
@@ -1169,6 +1169,18 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/annotations/ConstructorCallAllowed.kt");
}
@Test
@TestMetadata("cycleInParameters_after.kt")
public void testCycleInParameters_after() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/cycleInParameters_after.kt");
}
@Test
@TestMetadata("cycleInParameters_before.kt")
public void testCycleInParameters_before() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/cycleInParameters_before.kt");
}
@Test
@TestMetadata("DanglingMixed.kt")
public void testDanglingMixed() throws Exception {