[kotlin] update test data: default parameter values (as placeholder) are included in cls stubs

GitOrigin-RevId: 5306cfdcdafa4a4b37af9a09925788a01f4c7bb4
This commit is contained in:
Anna Kozlova
2023-04-26 19:45:22 +00:00
committed by intellij-monorepo-bot
parent f58234eb7d
commit aeee45bc36
6 changed files with 8 additions and 7 deletions
@@ -9,4 +9,4 @@ public val p: kotlin.Int /* compiled code */
public fun f(): kotlin.Unit { /* compiled code */ }
public fun kotlin.Int.plus(i: kotlin.Int /* = compiled code */): kotlin.Int { /* compiled code */ }
public fun kotlin.Int.plus(i: kotlin.Int = COMPILED_CODE): kotlin.Int { /* compiled code */ }
@@ -1,7 +1,7 @@
OverloadedFunKt.class
OverloadedFunKt.class
<1><3><5>// IntelliJ API Decompiler stub source generated from a class file
// Implementation of methods is not available
package testData.libraries
@kotlin.jvm.JvmOverloads public fun <T> kotlin.String.<2><4><6>overloadedFun(vararg specs: kotlin.String, allowExisting: kotlin.Boolean /* = compiled code */, x: kotlin.Int, y: kotlin.Int /* = compiled code */, z: T): kotlin.String { /* compiled code */ }
@kotlin.jvm.JvmOverloads public fun <T> kotlin.String.<2><4><6>overloadedFun(vararg specs: kotlin.String, allowExisting: kotlin.Boolean = COMPILED_CODE, x: kotlin.Int, y: kotlin.Int = COMPILED_CODE, z: T): kotlin.String { /* compiled code */ }
@@ -2,7 +2,7 @@ ChildOfOpenClassWithFunctionWithDefaultParameter.class
public final class ChildOfOpenClassWithFunctionWithDefaultParameter public <6>constructor() : testData.libraries.OpenClassWithFunctionWithDefaultParameter {
public open fun <7><8>doSmth(condition: kotlin.Boolean): kotlin.Unit { /* compiled code */ }
MainKt.class
public fun <1><2>funWithDefaultParameter(a: kotlin.Int, b: kotlin.String /* = compiled code */): kotlin.Unit { /* compiled code */ }
public fun <1><2>funWithDefaultParameter(a: kotlin.Int, b: kotlin.String = COMPILED_CODE): kotlin.Unit { /* compiled code */ }
OpenClassWithFunctionWithDefaultParameter.class
public open class OpenClassWithFunctionWithDefaultParameter public <3>constructor() {
public open fun <4><5>doSmth(condition: kotlin.Boolean /* = compiled code */): kotlin.Unit { /* compiled code */ }
public open fun <4><5>doSmth(condition: kotlin.Boolean = COMPILED_CODE): kotlin.Unit { /* compiled code */ }
@@ -1,5 +1,6 @@
MainKt.class
public val kotlin.String.<1>exProp: kotlin.String /* compiled code */
public final get
public val <T> testData.libraries.Pair<T, T>.<3>exProp: kotlin.String /* compiled code */
Pair.class
@@ -5,4 +5,4 @@ public fun func(cs: kotlin.CharSequence): kotlin.Unit { /* compiled code */ }
public fun <3>func(a: kotlin.Int, b: kotlin.Int): kotlin.Unit { /* compiled code */ }
public fun <1><2>func(a: kotlin.Int, b: kotlin.String /* = compiled code */): kotlin.Unit { /* compiled code */ }
public fun <1><2>func(a: kotlin.Int, b: kotlin.String = COMPILED_CODE): kotlin.Unit { /* compiled code */ }
@@ -1,4 +1,4 @@
ExtraKt.class
public fun <1>func(str: kotlin.String): kotlin.Unit { /* compiled code */ }
MainKt.class
public fun <2>func(a: kotlin.Int, b: kotlin.String /* = compiled code */): kotlin.Unit { /* compiled code */ }
public fun <2>func(a: kotlin.Int, b: kotlin.String = COMPILED_CODE): kotlin.Unit { /* compiled code */ }