JVM: make inline function argument processing a bit shorter

This commit is contained in:
pyos
2021-06-07 12:37:51 +02:00
committed by max-kammerer
parent 392e4fba42
commit 6c1a5e1211
5 changed files with 68 additions and 97 deletions
@@ -2535,11 +2535,6 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class Bound extends AbstractLightAnalysisModeTest {
@TestMetadata("genericBoundPropertyAsCrossinline.kt")
public void ignoreGenericBoundPropertyAsCrossinline() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/genericBoundPropertyAsCrossinline.kt");
}
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
}
@@ -2613,6 +2608,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/callableReference/bound/enumEntryMember.kt");
}
@TestMetadata("genericBoundPropertyAsCrossinline.kt")
public void testGenericBoundPropertyAsCrossinline() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/genericBoundPropertyAsCrossinline.kt");
}
@TestMetadata("genericValOnLHS.kt")
public void testGenericValOnLHS() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/genericValOnLHS.kt");