KT-52875 Fix extension function literal creation with -Xlambdas=indy

This commit is contained in:
Pavel Mikhailovskii
2022-06-30 13:30:51 +02:00
committed by teamcity
parent 97c542dd76
commit 8a402bcacd
10 changed files with 53 additions and 1 deletions
@@ -20656,6 +20656,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/invokedynamic/lambdas"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
}
@Test
@TestMetadata("kt52875.kt")
public void testKt52875() throws Exception {
runTest("compiler/testData/codegen/box/invokedynamic/lambdas/kt52875.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/box/invokedynamic/lambdas/inlineClassInSignature")
@TestDataPath("$PROJECT_ROOT")
@@ -20620,6 +20620,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/invokedynamic/lambdas"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("kt52875.kt")
public void testKt52875() throws Exception {
runTest("compiler/testData/codegen/box/invokedynamic/lambdas/kt52875.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/box/invokedynamic/lambdas/inlineClassInSignature")
@TestDataPath("$PROJECT_ROOT")
@@ -18276,6 +18276,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/invokedynamic/lambdas"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
}
@TestMetadata("kt52875.kt")
public void testKt52875() throws Exception {
runTest("compiler/testData/codegen/box/invokedynamic/lambdas/kt52875.kt");
}
@TestMetadata("compiler/testData/codegen/box/invokedynamic/lambdas/inlineClassInSignature")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)