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
@@ -23305,6 +23305,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/invokedynamic/lambdas"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, 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")