Generate unique parameter names in LocalDeclarationsLowering

This commit is contained in:
pyos
2019-10-04 14:41:28 +02:00
committed by max-kammerer
parent 3b2843fe7a
commit cd47c11efd
14 changed files with 87 additions and 10 deletions
@@ -3786,6 +3786,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/closures/captureExtensionReceiver.kt");
}
@TestMetadata("captureExtensionReceiverX2.kt")
public void testCaptureExtensionReceiverX2() throws Exception {
runTest("compiler/testData/codegen/box/closures/captureExtensionReceiverX2.kt");
}
@TestMetadata("capturedLocalGenericFun.kt")
public void testCapturedLocalGenericFun() throws Exception {
runTest("compiler/testData/codegen/box/closures/capturedLocalGenericFun.kt");
@@ -1799,6 +1799,11 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/innerClasses"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true);
}
@TestMetadata("captureThisAndOuter.kt")
public void testCaptureThisAndOuter() throws Exception {
runTest("compiler/testData/codegen/boxInline/innerClasses/captureThisAndOuter.kt");
}
@TestMetadata("innerLambda.kt")
public void testInnerLambda() throws Exception {
runTest("compiler/testData/codegen/boxInline/innerClasses/innerLambda.kt");
@@ -1799,6 +1799,11 @@ public class CompileKotlinAgainstInlineKotlinTestGenerated extends AbstractCompi
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/innerClasses"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true);
}
@TestMetadata("captureThisAndOuter.kt")
public void testCaptureThisAndOuter() throws Exception {
runTest("compiler/testData/codegen/boxInline/innerClasses/captureThisAndOuter.kt");
}
@TestMetadata("innerLambda.kt")
public void testInnerLambda() throws Exception {
runTest("compiler/testData/codegen/boxInline/innerClasses/innerLambda.kt");
@@ -3786,6 +3786,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/closures/captureExtensionReceiver.kt");
}
@TestMetadata("captureExtensionReceiverX2.kt")
public void testCaptureExtensionReceiverX2() throws Exception {
runTest("compiler/testData/codegen/box/closures/captureExtensionReceiverX2.kt");
}
@TestMetadata("capturedLocalGenericFun.kt")
public void testCapturedLocalGenericFun() throws Exception {
runTest("compiler/testData/codegen/box/closures/capturedLocalGenericFun.kt");
@@ -3766,6 +3766,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/closures/captureExtensionReceiver.kt");
}
@TestMetadata("captureExtensionReceiverX2.kt")
public void testCaptureExtensionReceiverX2() throws Exception {
runTest("compiler/testData/codegen/box/closures/captureExtensionReceiverX2.kt");
}
@TestMetadata("capturedLocalGenericFun.kt")
public void testCapturedLocalGenericFun() throws Exception {
runTest("compiler/testData/codegen/box/closures/capturedLocalGenericFun.kt");
@@ -1799,6 +1799,11 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/innerClasses"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM_IR, true);
}
@TestMetadata("captureThisAndOuter.kt")
public void testCaptureThisAndOuter() throws Exception {
runTest("compiler/testData/codegen/boxInline/innerClasses/captureThisAndOuter.kt");
}
@TestMetadata("innerLambda.kt")
public void testInnerLambda() throws Exception {
runTest("compiler/testData/codegen/boxInline/innerClasses/innerLambda.kt");
@@ -1799,6 +1799,11 @@ public class IrCompileKotlinAgainstInlineKotlinTestGenerated extends AbstractIrC
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/innerClasses"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM_IR, true);
}
@TestMetadata("captureThisAndOuter.kt")
public void testCaptureThisAndOuter() throws Exception {
runTest("compiler/testData/codegen/boxInline/innerClasses/captureThisAndOuter.kt");
}
@TestMetadata("innerLambda.kt")
public void testInnerLambda() throws Exception {
runTest("compiler/testData/codegen/boxInline/innerClasses/innerLambda.kt");