Generate fake variables for default lambdas during inline

#KT-51557 Fixed
This commit is contained in:
Mikhael Bogdanov
2022-03-07 13:41:00 +01:00
committed by Space
parent 5e09c3176f
commit 6b00b51e6d
6 changed files with 63 additions and 7 deletions
@@ -3442,6 +3442,12 @@ public class FirBytecodeTextTestGenerated extends AbstractFirBytecodeTextTest {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/bytecodeText/inline"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("defaultLambda.kt")
public void testDefaultLambda() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/inline/defaultLambda.kt");
}
@Test
@TestMetadata("deleteClassOnTransformation.kt")
public void testDeleteClassOnTransformation() throws Exception {