[FIR] Update backend tests with actual/expect in same module

- The fix for KT-55570 caused some backend tests to fail, because errors
  are now correctly reported for simple classes and actual/expect in
  the same module is not supported in FIR. See KT-55177.
- The commit also adds separate tests for K2. Unfortunately, these have
  to be disabled for K1 because K1 then reports "expect without actual"
  errors.
This commit is contained in:
Marco Pennekamp
2023-01-27 20:08:13 +01:00
committed by teamcity
parent d6cb75ca91
commit 9a693fa967
28 changed files with 333 additions and 70 deletions
@@ -26778,6 +26778,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/multiplatform/annotationsViaActualTypeAliasFromBinary.kt");
}
@TestMetadata("annotationsViaActualTypeAliasFromBinary2.kt")
public void testAnnotationsViaActualTypeAliasFromBinary2() throws Exception {
runTest("compiler/testData/codegen/box/multiplatform/annotationsViaActualTypeAliasFromBinary2.kt");
}
@TestMetadata("commonInternal.kt")
public void testCommonInternal() throws Exception {
runTest("compiler/testData/codegen/box/multiplatform/commonInternal.kt");
@@ -26945,6 +26950,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/typeAlias.kt");
}
@TestMetadata("typeAlias2.kt")
public void testTypeAlias2() throws Exception {
runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/typeAlias2.kt");
}
@TestMetadata("withTypeParameter.kt")
public void testWithTypeParameter() throws Exception {
runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/withTypeParameter.kt");