[AA] getExpectForActual analysis-api now returns compatible or weakly incompatible
^KTIJ-27522 Fixed It's the only reasonable behavior for this API in it's current shape (when it returns a list of declarations) It's a common mistake to take only Compatible from expectActualMatchingMap. The problem will be gone after I fix KT-62590 Motivation to fix this bug, is because it will be easier for me to split expect-actual matcher-checker-monster thing KT-62590 Review: https://jetbrains.team/p/kt/reviews/12750/timeline
This commit is contained in:
+6
@@ -52,6 +52,12 @@ public class FirStandaloneNormalAnalysisSourceModuleExpectForActualTestGenerated
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/multiplatformInfoProvider/expectForActual"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("matchingButIncompatibleExpect.kt")
|
||||
public void testMatchingButIncompatibleExpect() throws Exception {
|
||||
runTest("analysis/analysis-api/testData/components/multiplatformInfoProvider/expectForActual/matchingButIncompatibleExpect.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleExpects.kt")
|
||||
public void testMultipleExpects() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user