[Test] Add test for ACTUAL_ANNOTATIONS_NOT_MATCH_EXPECT diagnostic

...when annotations arguments are lazily resolved.

MR: KT-MR-12245

^KT-60671
This commit is contained in:
Roman Efremov
2023-10-05 14:32:40 +02:00
committed by Space Team
parent 423f4ca5f0
commit 4c75fb108f
8 changed files with 139 additions and 0 deletions
@@ -22814,6 +22814,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/multimodule/dependsOnModule.kt");
}
@Test
@TestMetadata("expectActualAnnotationsWithLazyResolve.kt")
public void testExpectActualAnnotationsWithLazyResolve() throws Exception {
runTest("compiler/testData/diagnostics/tests/multimodule/expectActualAnnotationsWithLazyResolve.kt");
}
@Test
@TestMetadata("friendModule.kt")
public void testFriendModule() throws Exception {
@@ -22814,6 +22814,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/multimodule/dependsOnModule.kt");
}
@Test
@TestMetadata("expectActualAnnotationsWithLazyResolve.kt")
public void testExpectActualAnnotationsWithLazyResolve() throws Exception {
runTest("compiler/testData/diagnostics/tests/multimodule/expectActualAnnotationsWithLazyResolve.kt");
}
@Test
@TestMetadata("friendModule.kt")
public void testFriendModule() throws Exception {