[FE, IR] Check annotations compatibility on expect and actual value parameters

Comment was added to make it clear why whole declarations reported
in diagnostic instead of value parameter symbols (same will be done
with other targets in subsequent commits).

^KT-60671
This commit is contained in:
Roman Efremov
2023-08-02 14:37:11 +02:00
committed by Space Team
parent 4686a73c3b
commit 5c95f69aef
10 changed files with 106 additions and 10 deletions
@@ -926,6 +926,12 @@ public class FirOldFrontendMPPDiagnosticsWithLightTreeTestGenerated extends Abst
runTest("compiler/testData/diagnostics/tests/multiplatform/annotationMatching/typealiasToKtLibrary.kt");
}
@Test
@TestMetadata("valueParameters.kt")
public void testValueParameters() throws Exception {
runTest("compiler/testData/diagnostics/tests/multiplatform/annotationMatching/valueParameters.kt");
}
@Test
@TestMetadata("withAnnotationActualTypealias.kt")
public void testWithAnnotationActualTypealias() throws Exception {
@@ -926,6 +926,12 @@ public class FirOldFrontendMPPDiagnosticsWithPsiTestGenerated extends AbstractFi
runTest("compiler/testData/diagnostics/tests/multiplatform/annotationMatching/typealiasToKtLibrary.kt");
}
@Test
@TestMetadata("valueParameters.kt")
public void testValueParameters() throws Exception {
runTest("compiler/testData/diagnostics/tests/multiplatform/annotationMatching/valueParameters.kt");
}
@Test
@TestMetadata("withAnnotationActualTypealias.kt")
public void testWithAnnotationActualTypealias() throws Exception {