[IR] Fix copying of default argument from expect to actual with type parameter

^KT-45866 fixed
This commit is contained in:
Ilya Goncharov
2021-04-05 15:11:49 +03:00
committed by TeamCityServer
parent d870876822
commit b82c9225c8
12 changed files with 139 additions and 16 deletions
@@ -16745,6 +16745,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
public void testTypeAlias() throws Exception {
runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/typeAlias.kt");
}
@TestMetadata("withTypeParameter.kt")
public void testWithTypeParameter() throws Exception {
runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/withTypeParameter.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/multiplatform/exhaustiveness")
@@ -16166,6 +16166,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
public void testTypeAlias() throws Exception {
runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/typeAlias.kt");
}
@TestMetadata("withTypeParameter.kt")
public void testWithTypeParameter() throws Exception {
runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/withTypeParameter.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/multiplatform/exhaustiveness")
@@ -16231,6 +16231,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
public void testTypeAlias() throws Exception {
runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/typeAlias.kt");
}
@TestMetadata("withTypeParameter.kt")
public void testWithTypeParameter() throws Exception {
runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/withTypeParameter.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/multiplatform/exhaustiveness")
@@ -9977,6 +9977,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
public void testTypeAlias() throws Exception {
runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/typeAlias.kt");
}
@TestMetadata("withTypeParameter.kt")
public void testWithTypeParameter() throws Exception {
runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/withTypeParameter.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/multiplatform/exhaustiveness")