Move superinterface to the only subclass of FunctionBase
This commit is contained in:
committed by
Ilya Gorbunov
parent
07a0cb91d4
commit
e35ebff4e1
@@ -7,8 +7,6 @@ package kotlin.jvm.internal;
|
|||||||
|
|
||||||
import kotlin.Function;
|
import kotlin.Function;
|
||||||
|
|
||||||
import java.io.Serializable;
|
public interface FunctionBase extends Function {
|
||||||
|
|
||||||
public interface FunctionBase extends Function, Serializable {
|
|
||||||
int getArity();
|
int getArity();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,8 +5,10 @@
|
|||||||
|
|
||||||
package kotlin.jvm.internal
|
package kotlin.jvm.internal
|
||||||
|
|
||||||
public abstract class Lambda(private val arity: Int) : FunctionBase {
|
import java.io.Serializable
|
||||||
override fun getArity() = arity
|
|
||||||
|
|
||||||
override fun toString() = Reflection.renderLambdaToString(this)
|
abstract class Lambda(private val arity: Int) : FunctionBase, Serializable {
|
||||||
|
override fun getArity(): Int = arity
|
||||||
|
|
||||||
|
override fun toString(): String = Reflection.renderLambdaToString(this)
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-2
@@ -507,7 +507,7 @@ public final class kotlin/jvm/internal/FloatSpreadBuilder : kotlin/jvm/internal/
|
|||||||
public final fun toArray ()[F
|
public final fun toArray ()[F
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract interface class kotlin/jvm/internal/FunctionBase : java/io/Serializable, kotlin/Function {
|
public abstract interface class kotlin/jvm/internal/FunctionBase : kotlin/Function {
|
||||||
public abstract fun getArity ()I
|
public abstract fun getArity ()I
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -630,7 +630,7 @@ public class kotlin/jvm/internal/Intrinsics {
|
|||||||
public static fun throwUninitializedPropertyAccessException (Ljava/lang/String;)V
|
public static fun throwUninitializedPropertyAccessException (Ljava/lang/String;)V
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract class kotlin/jvm/internal/Lambda : kotlin/jvm/internal/FunctionBase {
|
public abstract class kotlin/jvm/internal/Lambda : java/io/Serializable, kotlin/jvm/internal/FunctionBase {
|
||||||
public fun <init> (I)V
|
public fun <init> (I)V
|
||||||
public fun getArity ()I
|
public fun getArity ()I
|
||||||
public fun toString ()Ljava/lang/String;
|
public fun toString ()Ljava/lang/String;
|
||||||
|
|||||||
+2
-2
@@ -3329,7 +3329,7 @@ public final class kotlin/jvm/internal/FloatSpreadBuilder : kotlin/jvm/internal/
|
|||||||
public final fun toArray ()[F
|
public final fun toArray ()[F
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract interface class kotlin/jvm/internal/FunctionBase : java/io/Serializable, kotlin/Function {
|
public abstract interface class kotlin/jvm/internal/FunctionBase : kotlin/Function {
|
||||||
public abstract fun getArity ()I
|
public abstract fun getArity ()I
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3452,7 +3452,7 @@ public class kotlin/jvm/internal/Intrinsics {
|
|||||||
public static fun throwUninitializedPropertyAccessException (Ljava/lang/String;)V
|
public static fun throwUninitializedPropertyAccessException (Ljava/lang/String;)V
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract class kotlin/jvm/internal/Lambda : kotlin/jvm/internal/FunctionBase {
|
public abstract class kotlin/jvm/internal/Lambda : java/io/Serializable, kotlin/jvm/internal/FunctionBase {
|
||||||
public fun <init> (I)V
|
public fun <init> (I)V
|
||||||
public fun getArity ()I
|
public fun getArity ()I
|
||||||
public fun toString ()Ljava/lang/String;
|
public fun toString ()Ljava/lang/String;
|
||||||
|
|||||||
Reference in New Issue
Block a user