Add tests for default inline suspend lambdas

Broken on JVM and JVM_IR
This commit is contained in:
pyos
2021-05-17 12:55:18 +02:00
committed by max-kammerer
parent 57c934987c
commit 7eedcf75f9
12 changed files with 164 additions and 0 deletions
@@ -4935,6 +4935,18 @@ public class FirBlackBoxInlineCodegenTestGenerated extends AbstractFirBlackBoxIn
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/suspend/defaultParameter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("defaultInlineLambda.kt")
public void testDefaultInlineLambda() throws Exception {
runTest("compiler/testData/codegen/boxInline/suspend/defaultParameter/defaultInlineLambda.kt");
}
@Test
@TestMetadata("defaultInlineReference.kt")
public void testDefaultInlineReference() throws Exception {
runTest("compiler/testData/codegen/boxInline/suspend/defaultParameter/defaultInlineReference.kt");
}
@Test
@TestMetadata("defaultValueCrossinline.kt")
public void testDefaultValueCrossinline() throws Exception {