[FE1.0] Fix false reporting of non-matching annotations in IDE...

...when typealiased expect class used in class literal.

^KTIJ-26700 Fixed
This commit is contained in:
Roman Efremov
2023-08-23 10:49:22 +02:00
committed by Space Team
parent 3124cbcbad
commit 6b217369a8
6 changed files with 64 additions and 9 deletions
@@ -1419,6 +1419,12 @@ public class FirOldFrontendMPPDiagnosticsWithLightTreeTestGenerated extends Abst
public void testTypealiasedAnnotationAsArgument() throws Exception {
runTest("compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/annotationMatching/typealiasedAnnotationAsArgument.kt");
}
@Test
@TestMetadata("typealiasedAsKClassArg.kt")
public void testTypealiasedAsKClassArg() throws Exception {
runTest("compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/annotationMatching/typealiasedAsKClassArg.kt");
}
}
}
}
@@ -1419,6 +1419,12 @@ public class FirOldFrontendMPPDiagnosticsWithPsiTestGenerated extends AbstractFi
public void testTypealiasedAnnotationAsArgument() throws Exception {
runTest("compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/annotationMatching/typealiasedAnnotationAsArgument.kt");
}
@Test
@TestMetadata("typealiasedAsKClassArg.kt")
public void testTypealiasedAsKClassArg() throws Exception {
runTest("compiler/testData/diagnostics/tests/multiplatform/hmpp/multiplatformCompositeAnalysis/annotationMatching/typealiasedAsKClassArg.kt");
}
}
}
}