IR: remap types in LocalDeclarationsLowering

This commit is contained in:
Georgy Bronnikov
2020-09-04 12:34:28 +03:00
parent 1f3d344835
commit 33a2c69122
9 changed files with 107 additions and 6 deletions
@@ -10731,6 +10731,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/functions/localFunctions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
}
@TestMetadata("callBetweenLocalFunctions.kt")
public void testCallBetweenLocalFunctions() throws Exception {
runTest("compiler/testData/codegen/box/functions/localFunctions/callBetweenLocalFunctions.kt");
}
@TestMetadata("callInlineLocalInLambda.kt")
public void testCallInlineLocalInLambda() throws Exception {
runTest("compiler/testData/codegen/box/functions/localFunctions/callInlineLocalInLambda.kt");
@@ -10731,6 +10731,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/functions/localFunctions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@TestMetadata("callBetweenLocalFunctions.kt")
public void testCallBetweenLocalFunctions() throws Exception {
runTest("compiler/testData/codegen/box/functions/localFunctions/callBetweenLocalFunctions.kt");
}
@TestMetadata("callInlineLocalInLambda.kt")
public void testCallInlineLocalInLambda() throws Exception {
runTest("compiler/testData/codegen/box/functions/localFunctions/callInlineLocalInLambda.kt");
@@ -10731,6 +10731,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/functions/localFunctions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
}
@TestMetadata("callBetweenLocalFunctions.kt")
public void testCallBetweenLocalFunctions() throws Exception {
runTest("compiler/testData/codegen/box/functions/localFunctions/callBetweenLocalFunctions.kt");
}
@TestMetadata("callInlineLocalInLambda.kt")
public void testCallInlineLocalInLambda() throws Exception {
runTest("compiler/testData/codegen/box/functions/localFunctions/callInlineLocalInLambda.kt");