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:
pyos
2021-07-07 17:58:17 +02:00
committed by max-kammerer
parent 717cf2066a
commit 07cb3a5ff8
14 changed files with 92 additions and 16 deletions
@@ -3085,6 +3085,11 @@ public class IrJsCodegenInlineES6TestGenerated extends AbstractIrJsCodegenInline
runTest("compiler/testData/codegen/boxInline/reified/kt9637_2.kt");
}
@TestMetadata("nameClash.kt")
public void testNameClash() throws Exception {
runTest("compiler/testData/codegen/boxInline/reified/nameClash.kt");
}
@TestMetadata("nonCapturingObjectInLambda.kt")
public void testNonCapturingObjectInLambda() throws Exception {
runTest("compiler/testData/codegen/boxInline/reified/nonCapturingObjectInLambda.kt");
@@ -3085,6 +3085,11 @@ public class IrJsCodegenInlineTestGenerated extends AbstractIrJsCodegenInlineTes
runTest("compiler/testData/codegen/boxInline/reified/kt9637_2.kt");
}
@TestMetadata("nameClash.kt")
public void testNameClash() throws Exception {
runTest("compiler/testData/codegen/boxInline/reified/nameClash.kt");
}
@TestMetadata("nonCapturingObjectInLambda.kt")
public void testNonCapturingObjectInLambda() throws Exception {
runTest("compiler/testData/codegen/boxInline/reified/nonCapturingObjectInLambda.kt");
@@ -3085,6 +3085,11 @@ public class JsCodegenInlineTestGenerated extends AbstractJsCodegenInlineTest {
runTest("compiler/testData/codegen/boxInline/reified/kt9637_2.kt");
}
@TestMetadata("nameClash.kt")
public void testNameClash() throws Exception {
runTest("compiler/testData/codegen/boxInline/reified/nameClash.kt");
}
@TestMetadata("nonCapturingObjectInLambda.kt")
public void testNonCapturingObjectInLambda() throws Exception {
runTest("compiler/testData/codegen/boxInline/reified/nonCapturingObjectInLambda.kt");