[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:
committed by
teamcity
parent
d6cb75ca91
commit
9a693fa967
+12
@@ -5653,6 +5653,12 @@ public class K2NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTes
|
||||
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/expectClassActualTypeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectClassActualTypeAlias2.kt")
|
||||
public void testExpectClassActualTypeAlias2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/expectClassActualTypeAlias2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericSetter.kt")
|
||||
public void testGenericSetter() throws Exception {
|
||||
@@ -26068,6 +26074,12 @@ public class K2NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTes
|
||||
runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/typeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAlias2.kt")
|
||||
public void testTypeAlias2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/typeAlias2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("withTypeParameter.kt")
|
||||
public void testWithTypeParameter() throws Exception {
|
||||
|
||||
+12
@@ -5593,6 +5593,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/expectClassActualTypeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectClassActualTypeAlias2.kt")
|
||||
public void testExpectClassActualTypeAlias2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/expectClassActualTypeAlias2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericSetter.kt")
|
||||
public void testGenericSetter() throws Exception {
|
||||
@@ -25771,6 +25777,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/typeAlias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAlias2.kt")
|
||||
public void testTypeAlias2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/typeAlias2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("withTypeParameter.kt")
|
||||
public void testWithTypeParameter() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user