Generate stubs for private function with default arguments as public in interfaces

This commit is contained in:
Mikhael Bogdanov
2021-03-09 07:12:10 +01:00
committed by Space
parent 7edbf79b4b
commit f648d86d2b
13 changed files with 371 additions and 4 deletions
@@ -18423,6 +18423,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class AllCompatibility extends AbstractLightAnalysisModeTest {
@TestMetadata("privateFunWithDefaultArg.kt")
public void ignorePrivateFunWithDefaultArg() throws Exception {
runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/privateFunWithDefaultArg.kt");
}
@TestMetadata("privateSuspend.kt")
public void ignorePrivateSuspend() throws Exception {
runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/privateSuspend.kt");
@@ -18576,6 +18581,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/privateFunInInterface.kt");
}
@TestMetadata("privateFunWithDefaultArg2.kt")
public void testPrivateFunWithDefaultArg2() throws Exception {
runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/privateFunWithDefaultArg2.kt");
}
@TestMetadata("propertyAnnotation.kt")
public void testPropertyAnnotation() throws Exception {
runTest("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/propertyAnnotation.kt");
@@ -18873,6 +18883,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/privateFunInInterface.kt");
}
@TestMetadata("privateFunWithDefaultArg.kt")
public void testPrivateFunWithDefaultArg() throws Exception {
runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/privateFunWithDefaultArg.kt");
}
@TestMetadata("privateSuspend.kt")
public void testPrivateSuspend() throws Exception {
runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/privateSuspend.kt");