JVM: do not reify methods of objects in lambdas
All type parameters used in them are not from the inline function anyway.
This commit is contained in:
+6
@@ -3822,6 +3822,12 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
|
||||
runTest("compiler/testData/codegen/boxInline/reified/kt9637_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nameClash.kt")
|
||||
public void testNameClash() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/reified/nameClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonCapturingObjectInLambda.kt")
|
||||
public void testNonCapturingObjectInLambda() throws Exception {
|
||||
|
||||
+6
@@ -3822,6 +3822,12 @@ public class CompileKotlinAgainstInlineKotlinTestGenerated extends AbstractCompi
|
||||
runTest("compiler/testData/codegen/boxInline/reified/kt9637_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nameClash.kt")
|
||||
public void testNameClash() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/reified/nameClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonCapturingObjectInLambda.kt")
|
||||
public void testNonCapturingObjectInLambda() throws Exception {
|
||||
|
||||
+6
@@ -3822,6 +3822,12 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli
|
||||
runTest("compiler/testData/codegen/boxInline/reified/kt9637_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nameClash.kt")
|
||||
public void testNameClash() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/reified/nameClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonCapturingObjectInLambda.kt")
|
||||
public void testNonCapturingObjectInLambda() throws Exception {
|
||||
|
||||
+6
@@ -3822,6 +3822,12 @@ public class IrCompileKotlinAgainstInlineKotlinTestGenerated extends AbstractIrC
|
||||
runTest("compiler/testData/codegen/boxInline/reified/kt9637_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nameClash.kt")
|
||||
public void testNameClash() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/reified/nameClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonCapturingObjectInLambda.kt")
|
||||
public void testNonCapturingObjectInLambda() throws Exception {
|
||||
|
||||
+6
@@ -3822,6 +3822,12 @@ public class JvmIrAgainstOldBoxInlineTestGenerated extends AbstractJvmIrAgainstO
|
||||
runTest("compiler/testData/codegen/boxInline/reified/kt9637_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nameClash.kt")
|
||||
public void testNameClash() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/reified/nameClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonCapturingObjectInLambda.kt")
|
||||
public void testNonCapturingObjectInLambda() throws Exception {
|
||||
|
||||
+6
@@ -3822,6 +3822,12 @@ public class JvmOldAgainstIrBoxInlineTestGenerated extends AbstractJvmOldAgainst
|
||||
runTest("compiler/testData/codegen/boxInline/reified/kt9637_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nameClash.kt")
|
||||
public void testNameClash() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/reified/nameClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonCapturingObjectInLambda.kt")
|
||||
public void testNonCapturingObjectInLambda() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user