@@ -29,19 +29,27 @@ enum class DefaultValues {
2929}
3030
3131private fun topLevelFunc (
32- arg1 : Int , arg2 : String , arg3 : String = DefaultValues .TopLevelFunc .name
32+ arg1 : Int ,
33+ arg2 : String ,
34+ arg3 : String = DefaultValues .TopLevelFunc .name
3335): UseDefaultValueCallTest .Dst = UseDefaultValueCallTest .Dst (arg1, arg2, arg3)
3436
3537private fun UseDefaultValueCallTest.Class.topLevelExtensionFunc (
36- arg1 : Int , arg2 : String , arg3 : String = DefaultValues .TopLevelExtensionFunc .name
38+ arg1 : Int ,
39+ arg2 : String ,
40+ arg3 : String = DefaultValues .TopLevelExtensionFunc .name
3741): UseDefaultValueCallTest .Dst = UseDefaultValueCallTest .Dst (arg1, arg2, arg3)
3842
3943private fun UseDefaultValueCallTest.Class.topLevelExtensionFuncFromInstance (
40- arg1 : Int , arg2 : String , arg3 : String = DefaultValues .TopLevelExtensionFuncFromInstance .name
44+ arg1 : Int ,
45+ arg2 : String ,
46+ arg3 : String = DefaultValues .TopLevelExtensionFuncFromInstance .name
4147): UseDefaultValueCallTest .Dst = UseDefaultValueCallTest .Dst (arg1, arg2, arg3)
4248
4349private fun UseDefaultValueCallTest.Class.topLevelExtensionFuncFromInstanceWithInstance (
44- arg1 : Int , arg2 : String , arg3 : String = DefaultValues .TopLevelExtensionFuncFromInstanceWithInstance .name
50+ arg1 : Int ,
51+ arg2 : String ,
52+ arg3 : String = DefaultValues .TopLevelExtensionFuncFromInstanceWithInstance .name
4553): UseDefaultValueCallTest .Dst = UseDefaultValueCallTest .Dst (arg1, arg2, arg3)
4654
4755/* *
@@ -68,15 +76,21 @@ private class UseDefaultValueCallTest {
6876 Dst (arg1, arg2, arg3)
6977
7078 fun ofWithInstance (
71- arg1 : Int , arg2 : String , arg3 : String = DefaultValues .CompanionObjectFuncWithInstance .name
79+ arg1 : Int ,
80+ arg2 : String ,
81+ arg3 : String = DefaultValues .CompanionObjectFuncWithInstance .name
7282 ) = Dst (arg1, arg2, arg3)
7383
7484 fun ofFromReflection (
75- arg1 : Int , arg2 : String , arg3 : String = DefaultValues .CompanionObjectFuncFromReflection .name
85+ arg1 : Int ,
86+ arg2 : String ,
87+ arg3 : String = DefaultValues .CompanionObjectFuncFromReflection .name
7688 ) = Dst (arg1, arg2, arg3)
7789
7890 fun ofFromReflectionWithInstance (
79- arg1 : Int , arg2 : String , arg3 : String = DefaultValues .CompanionObjectFuncFromReflectionWithInstance .name
91+ arg1 : Int ,
92+ arg2 : String ,
93+ arg3 : String = DefaultValues .CompanionObjectFuncFromReflectionWithInstance .name
8094 ) = Dst (arg1, arg2, arg3)
8195 }
8296 }
@@ -85,7 +99,9 @@ private class UseDefaultValueCallTest {
8599 Dst (arg1, arg2, arg3)
86100
87101 private fun instanceFunctionWithInstance (
88- arg1 : Int , arg2 : String , arg3 : String = DefaultValues .InstanceFuncWithInstance .name
102+ arg1 : Int ,
103+ arg2 : String ,
104+ arg3 : String = DefaultValues .InstanceFuncWithInstance .name
89105 ) = Dst (arg1, arg2, arg3)
90106
91107 @ParameterizedTest
@@ -115,7 +131,9 @@ private class UseDefaultValueCallTest {
115131 Arguments .of(::instanceFunctionWithInstance, this , DefaultValues .InstanceFuncWithInstance ),
116132 Arguments .of((Dst )::of, null , DefaultValues .CompanionObjectFunc ),
117133 Arguments .of(
118- (Dst )::ofWithInstance, Dst ::class .companionObjectInstance, DefaultValues .CompanionObjectFuncWithInstance
134+ (Dst )::ofWithInstance,
135+ Dst ::class .companionObjectInstance,
136+ DefaultValues .CompanionObjectFuncWithInstance
119137 ),
120138 Arguments .of(ofFromReflection, null , DefaultValues .CompanionObjectFuncFromReflection ),
121139 Arguments .of(
@@ -127,7 +145,9 @@ private class UseDefaultValueCallTest {
127145 Arguments .of(Class ::topLevelExtensionFunc, Class (), DefaultValues .TopLevelExtensionFunc ),
128146 Class ().let {
129147 Arguments .of(
130- it::topLevelExtensionFuncFromInstance, null , DefaultValues .TopLevelExtensionFuncFromInstance
148+ it::topLevelExtensionFuncFromInstance,
149+ null ,
150+ DefaultValues .TopLevelExtensionFuncFromInstance
131151 )
132152 },
133153 Class ().let {
0 commit comments