Copy methods for lambdas to DefaultImpls without receiver transformation

#KT-48230 Fixed
This commit is contained in:
Mikhael Bogdanov
2021-08-17 12:22:05 +02:00
committed by Space
parent 6d7eb2bd21
commit a5e59e09ee
25 changed files with 111 additions and 19 deletions
@@ -1312,6 +1312,12 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
runTest("compiler/testData/codegen/boxInline/capture/kt48230.kt");
}
@Test
@TestMetadata("kt48230_2.kt")
public void testKt48230_2() throws Exception {
runTest("compiler/testData/codegen/boxInline/capture/kt48230_2.kt");
}
@Test
@TestMetadata("simpleCapturingInClass.kt")
public void testSimpleCapturingInClass() throws Exception {
@@ -1312,6 +1312,12 @@ public class CompileKotlinAgainstInlineKotlinTestGenerated extends AbstractCompi
runTest("compiler/testData/codegen/boxInline/capture/kt48230.kt");
}
@Test
@TestMetadata("kt48230_2.kt")
public void testKt48230_2() throws Exception {
runTest("compiler/testData/codegen/boxInline/capture/kt48230_2.kt");
}
@Test
@TestMetadata("simpleCapturingInClass.kt")
public void testSimpleCapturingInClass() throws Exception {
@@ -1324,6 +1324,12 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli
runTest("compiler/testData/codegen/boxInline/capture/kt48230.kt");
}
@Test
@TestMetadata("kt48230_2.kt")
public void testKt48230_2() throws Exception {
runTest("compiler/testData/codegen/boxInline/capture/kt48230_2.kt");
}
@Test
@TestMetadata("simpleCapturingInClass.kt")
public void testSimpleCapturingInClass() throws Exception {
@@ -1324,6 +1324,12 @@ public class IrCompileKotlinAgainstInlineKotlinTestGenerated extends AbstractIrC
runTest("compiler/testData/codegen/boxInline/capture/kt48230.kt");
}
@Test
@TestMetadata("kt48230_2.kt")
public void testKt48230_2() throws Exception {
runTest("compiler/testData/codegen/boxInline/capture/kt48230_2.kt");
}
@Test
@TestMetadata("simpleCapturingInClass.kt")
public void testSimpleCapturingInClass() throws Exception {
@@ -1324,6 +1324,12 @@ public class IrSerializeCompileKotlinAgainstInlineKotlinTestGenerated extends Ab
runTest("compiler/testData/codegen/boxInline/capture/kt48230.kt");
}
@Test
@TestMetadata("kt48230_2.kt")
public void testKt48230_2() throws Exception {
runTest("compiler/testData/codegen/boxInline/capture/kt48230_2.kt");
}
@Test
@TestMetadata("simpleCapturingInClass.kt")
public void testSimpleCapturingInClass() throws Exception {
@@ -1324,6 +1324,12 @@ public class JvmIrAgainstOldBoxInlineTestGenerated extends AbstractJvmIrAgainstO
runTest("compiler/testData/codegen/boxInline/capture/kt48230.kt");
}
@Test
@TestMetadata("kt48230_2.kt")
public void testKt48230_2() throws Exception {
runTest("compiler/testData/codegen/boxInline/capture/kt48230_2.kt");
}
@Test
@TestMetadata("simpleCapturingInClass.kt")
public void testSimpleCapturingInClass() throws Exception {
@@ -1312,6 +1312,12 @@ public class JvmOldAgainstIrBoxInlineTestGenerated extends AbstractJvmOldAgainst
runTest("compiler/testData/codegen/boxInline/capture/kt48230.kt");
}
@Test
@TestMetadata("kt48230_2.kt")
public void testKt48230_2() throws Exception {
runTest("compiler/testData/codegen/boxInline/capture/kt48230_2.kt");
}
@Test
@TestMetadata("simpleCapturingInClass.kt")
public void testSimpleCapturingInClass() throws Exception {