JVM_IR: generate instance fields even when reification is needed
The inliner supports that, we just need to generate the reification markers on GETFIELD to instance fields.
This commit is contained in:
+5
@@ -3156,6 +3156,11 @@ public class IrJsCodegenInlineES6TestGenerated extends AbstractIrJsCodegenInline
|
||||
runTest("compiler/testData/codegen/boxInline/reified/nonCapturingObjectInLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("singletonLambda.kt")
|
||||
public void testSingletonLambda() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/reified/singletonLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/reified/checkCast")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
|
||||
Generated
+5
@@ -3156,6 +3156,11 @@ public class IrJsCodegenInlineTestGenerated extends AbstractIrJsCodegenInlineTes
|
||||
runTest("compiler/testData/codegen/boxInline/reified/nonCapturingObjectInLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("singletonLambda.kt")
|
||||
public void testSingletonLambda() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/reified/singletonLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/reified/checkCast")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
|
||||
Generated
+5
@@ -3156,6 +3156,11 @@ public class JsCodegenInlineTestGenerated extends AbstractJsCodegenInlineTest {
|
||||
runTest("compiler/testData/codegen/boxInline/reified/nonCapturingObjectInLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("singletonLambda.kt")
|
||||
public void testSingletonLambda() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/reified/singletonLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/reified/checkCast")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
|
||||
Reference in New Issue
Block a user